void Awake() { Instance = this; gc = gameObject.GetComponent <GameController>(); lightCounter.text = "" + lightcount.ToString("000"); }
void GetComponents() { lt = gameObject.GetComponent <LightTracker>(); scene = gameObject.GetComponent <SceneControl>(); }