Exemplo n.º 1
0
 public void DisableControllerTutorial(InputManager.ControllerName eName) {
   ControllerTutorialScript tutorial =
       InputManager.m_Instance.GetControllerTutorial(eName);
   if (tutorial) {
     tutorial.DisableTutorialObject();
   }
 }
Exemplo n.º 2
0
 public void ActivateControllerTutorial(InputManager.ControllerName eName, bool bActivate) {
   ControllerTutorialScript tutorial =
       InputManager.m_Instance.GetControllerTutorial(eName);
   if (tutorial) {
     tutorial.Activate(bActivate);
     if (bActivate) {
       AudioManager.m_Instance.PlayHintAnimateSound(tutorial.transform.position);
     }
   }
 }
Exemplo n.º 3
0
        public ControllerInfo(BaseControllerBehavior behavior)
        {
            m_Behavior  = behavior;
            m_Transform = behavior.transform;
            m_Tutorial  = behavior.GetComponent <ControllerTutorialScript>();

            m_Position         = m_Transform.position;
            m_Velocity         = Vector3.zero;
            m_Acceleration     = Vector3.zero;
            m_WasTracked       = false;
            m_HapticPulseCount = 0;
        }