Example #1
0
 // ----------------
 static private bool NeedToPreventCursorLocking()
 {
     if ((CF2Input.activeRig != null) && CF2Input.IsInMobileMode() && Application.isEditor)
     {
         return(true);
     }
     return(false);
 }
Example #2
0
 // --------------
 public override bool GetButton(string axisName)
 {
     return(CF2Input.GetButton(axisName));
 }
Example #3
0
 // --------------
 public override float GetAxisRaw(string axisName)
 {
     return(CF2Input.GetAxisRaw(axisName));
 }
 // ----------------
 static private bool IsCursorLockingAllowed()
 {
     return(!((CF2Input.activeRig != null) && CF2Input.IsInMobileMode()));
 }