Inheritance: MonoBehaviour
Exemple #1
0
 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>();
 }
Exemple #2
0
 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>();
 }