Exemple #1
0
 void Update()
 {
     if (!UISystem.Instance.CutSceneDisplaying())
     {
         startedUsing = _input.GetKeyDown(KeyCode.Space);
         stoppedUsing = _input.GetKeyUp(KeyCode.Space);
         isUsing      = _input.GetKey(KeyCode.Space);
     }
 }