예제 #1
0
 // Use this for initialization
 void Start()
 {
     egt      = gameObject.GetComponent <Text>();
     egt.text = "";
     bsc      = bscore.GetComponent <BlueScoreControl>();
     rsc      = rscore.GetComponent <RedScoreControl>();
     tc       = timer.GetComponent <TimerControl>();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     blueScore = GameObject.Find("BlueScore");
     bs        = blueScore.GetComponent <BlueScoreControl>();
 }