예제 #1
0
파일: CFCursor.cs 프로젝트: moh76/pro_test
 // ----------------
 static private bool NeedToPreventCursorLocking()
 {
     if ((CF2Input.activeRig != null) && CF2Input.IsInMobileMode() && Application.isEditor)
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 // --------------
 public override bool GetButton(string axisName)
 {
     return(CF2Input.GetButton(axisName));
 }
예제 #3
0
 // --------------
 public override float GetAxisRaw(string axisName)
 {
     return(CF2Input.GetAxisRaw(axisName));
 }
예제 #4
0
 // ----------------
 static private bool IsCursorLockingAllowed()
 {
     return(!((CF2Input.activeRig != null) && CF2Input.IsInMobileMode()));
 }