Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 void Awake()
 {
     if (s_helper != null)
     {
         throw new System.InvalidProgramException("there is more than one HFTGamepadHelper component!");
     }
     s_helper = this;
     playerSpawner = GetComponent<PlayerSpawner>();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     if (s_helper != null)
     {
         throw new System.InvalidProgramException("there is more than one HFTGamepadHelper component!");
     }
     s_helper      = this;
     playerSpawner = GetComponent <PlayerSpawner>();
 }
Ejemplo n.º 3
0
 void Cleanup()
 {
     s_helper = null;
 }
Ejemplo n.º 4
0
 void Cleanup()
 {
     s_helper = null;
 }