Example #1
0
    void LateUpdate()
    {
        //make the camera follow the player
        cameraBaseControl.UpdateCameraPosition();

#if UNITY_ANDROID
#else
        //rotate the camera
        cameraBaseControl.UpdateRotation(Input.GetAxis("Mouse X"), Input.GetAxis("Mouse Y"));
#endif
    }
Example #2
0
 void MoveCamera()
 {
     //move camera
     cameraControl.UpdateCameraPosition();
 }