Inheritance: MonoBehaviour
Exemple #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>();
 }
 void Awake()
 {
     if (s_helper != null)
     {
         throw new System.InvalidProgramException("there is more than one HFTGamepadHelper component!");
     }
     s_helper      = this;
     playerSpawner = GetComponent <PlayerSpawner>();
 }
Exemple #3
0
 void Cleanup()
 {
     s_helper = null;
 }
 void Cleanup()
 {
     s_helper = null;
 }