- Home /
Question by
Samael_00001 · May 24, 2014 at 09:07 PM ·
positionsizemain camera
How to change Main Camera size and position via code?
Comment
There's not enough information here for an accurate answer. $$anonymous$$aybe you want:
Camera.main.fieldOfView = newValue;
Camera.main.transform.position = Vector3(1,2,3);
Camera.main.orthographicSize is what I was looking for.. thanks!!
Best Answer
Answer by Samael_00001 · May 27, 2014 at 12:59 PM
Camera.main.orthographicSize is what I was looking for..
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Why Does My Object Change Position During Update? 0 Answers
C# Transform modification. 1 Answer
How to get position of multiple platforms? 0 Answers
get world position when click on minimap in unity 2d ? 0 Answers