Пример #1
0
 private void Awake()
 {
     streetView            = FindObjectOfType <StreetViewMoveToPoint>();
     currentCamera         = godViewCam;
     CurrentCameraControls = currentCamera.GetComponent <ICameraControls>();
     CurrentCameraExtends  = currentCamera.GetComponent <ICameraExtents>();
     ActiveCamera          = currentCamera.GetComponent <Camera>();
     Instance = this;
 }