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