Example #1
0
 private void FixedUpdate()
 {
     if (Input.GetKeyDown(KeyCode.M))
     {
         // Taking care of the previous scene
         if (!(Levelmanager is MenuManager))
         {
             UIOnLeaveScene();
         }
         // For new scene requirements
         LoadSceneAsync(3, 4);
         Camerahandler.SetViewPoint(CameraHandler.FocusPoint.End);
         Camerahandler.Play();
         Boat.SetState(boat.BoatState.LeaveScene);
     }
     Camerahandler.ClassUpdate();
 }
Example #2
0
 void FixedUpdate()
 {
     Camerahandler.ClassUpdate();
 }