Inheritance: MonoBehaviour
コード例 #1
0
ファイル: GridLogic.cs プロジェクト: Avatarchik/hexciter
 void Awake()
 {
     // tell the game to run at 60 fps, maybe put this some where better later
     Application.targetFrameRate = 60;
     scoreBar      = GameObject.Find("GUICamera").GetComponentInChildren <ScoreBar> ();
     moves         = GameObject.Find("GUICamera").GetComponentInChildren <MoveProgress>();
     colorSelector = GameObject.Find("GUICamera").GetComponentInChildren <ColorSelector>();
 }
コード例 #2
0
ファイル: GridLogic.cs プロジェクト: pR0Ps/hexciter
 void Awake()
 {
     // tell the game to run at 60 fps, maybe put this some where better later
     Application.targetFrameRate = 60;
     scoreBar = GameObject.Find ("GUICamera").GetComponentInChildren<ScoreBar> ();
     moves = GameObject.Find("GUICamera").GetComponentInChildren<MoveProgress>();
     colorSelector = GameObject.Find("GUICamera").GetComponentInChildren<ColorSelector>();
 }