void Awake() { startOrthoSize = GetComponent <Camera>().orthographicSize; fromTarget = transform; startPos = fromTarget.position; controller = GetComponent <LevelSelectionCameraController> (); }
void Awake() { startOrthoSize = GetComponent<Camera>().orthographicSize; fromTarget = transform; startPos = fromTarget.position; controller = GetComponent<LevelSelectionCameraController> (); }