Exemple #1
0
 public static bool IsHoldDbg(XVRKeyCode key)
 {
     return(Input.GetKey((UnityEngine.KeyCode)key) && (m_dbgenable));
 }
Exemple #2
0
 public static bool IsRelease(XVRKeyCode key)
 {
     return(Input.GetKeyUp((UnityEngine.KeyCode)key) && (!m_dbgenable));
 }
Exemple #3
0
 public static bool IsTrig(XVRKeyCode key)
 {
     return(Input.GetKeyDown((UnityEngine.KeyCode)key) && (!m_dbgenable));
 }
Exemple #4
0
 public static bool IsReleaseForced(XVRKeyCode key)
 {
     return(Input.GetKeyUp((UnityEngine.KeyCode)key));
 }
Exemple #5
0
 public static bool IsTrigForced(XVRKeyCode key)
 {
     return(Input.GetKeyDown((UnityEngine.KeyCode)key));
 }
Exemple #6
0
 public static bool IsHoldForced(XVRKeyCode key)
 {
     return(Input.GetKey((UnityEngine.KeyCode)key));
 }