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