Esempio n. 1
0
 private void Awake()
 {
     if (current == null || current.gameObject == null)
     {
         current = this;
     }
     else
     {
         Printer.Throw("Make sure there is only one game object with the UserInputSettings script attached!");
     }
 }
Esempio n. 2
0
 public static void Setup()
 {
     inputSettings = UserInputSettings.current;
     isSetup       = true;
 }