Beispiel #1
0
 private void Start()
 {
     isControllingRotating     = false;
     staticRotationSpeedCur    = 0;
     doubleClick               = false;
     firstClick                = false;
     canRotateTowardsDestPoint = false;
     camZoomControls           = (CameraZoomControls)FindObjectOfType(typeof(CameraZoomControls));
     ZoomOut();
 }
 // Use this for initialization
 void Start()
 {
     cam          = GetComponent <Camera>();
     soundChanger = GetComponent <SoundChanger>();
     camZoom      = FindObjectOfType <CameraZoomControls>();
 }