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