public void Reset()
 {
     cameraMode = CameraMode.Free;
     focus.Reset();
     anchor.Reset();
     TeleportCameraToPlayer();
 }
Esempio n. 2
0
 /// <summary>
 /// Zresetowanie widoku
 /// </summary>
 public void ResetViewButtonClick()
 {
     if (Factory.GetCamera().State != CameraState.Free)
     {
         return;
     }
     CameraFocus.Reset();
 }