Advertisement
Guest User

detection

a guest
Dec 14th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement