Exemplo n.º 1
0
 void OnDestroy()
 {
     Instance = null;
 }
Exemplo n.º 2
0
 void Awake()
 {
     Instance = this;
     InvokeRepeating("JoystickCheck", 0, 0.1f);
 }