Example #1
0
    void Awake()
    {
        Instance = this;

        gc = gameObject.GetComponent <GameController>();
        lightCounter.text = "" + lightcount.ToString("000");
    }
Example #2
0
 void GetComponents()
 {
     lt    = gameObject.GetComponent <LightTracker>();
     scene = gameObject.GetComponent <SceneControl>();
 }