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 }
void Rotate(float inputX, float inputY) { //rotate player and camera cameraControl.UpdateRotation(inputX, inputY); }