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