SHARE
TWEET

detection

a guest Dec 14th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if (Input.GetJoystickNames().Length > 0) {
  2.              Debug.Log("Controller Found");
  3.            ControlJoyPad();
  4.          }
  5.          else{
  6.              Debug.Log("Controller Not Found");
  7.              ControlMouse();
  8.           }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top