Inheritance: MonoBehaviour
コード例 #1
0
ファイル: HFTGamepadHelper.cs プロジェクト: hubatish/hftMaze
 void Awake()
 {
     if (s_helper != null)
     {
         throw new System.InvalidProgramException("there is more than one HFTGamepadHelper component!");
     }
     s_helper = this;
     playerSpawner = GetComponent<PlayerSpawner>();
 }
コード例 #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>();
 }
コード例 #3
0
ファイル: HFTGamepadHelper.cs プロジェクト: hubatish/hftMaze
 void Cleanup()
 {
     s_helper = null;
 }
コード例 #4
0
 void Cleanup()
 {
     s_helper = null;
 }