Example #1
0
 void OnEnable()
 {
     m_TargetCameraState.SetFromTransform(transform);
     m_InterpolatingCameraState.SetFromTransform(transform);
 }
Example #2
0
 void OnEnable()
 {
     m_TargetCameraState.SetFromTransform(transform);
     m_InterpolatingCameraState.SetFromTransform(transform);
     Cursor.lockState = CursorLockMode.Locked;
 }
 void Start()
 {
     m_InitialCameraState.SetFromTransform(transform);
 }
Example #4
0
 void OnEnable()
 {
     m_TargetCameraState.SetFromTransform(transform);
     inputMaster.Enable();
 }