void Start() { GCS = GameScripts.GetComponent <GameController>(); BlackScreenRenderer = BlackScreen.GetComponent <Renderer>(); ButtonListeners(); CheatMenuStart(); }
void Start() { UCS = GameScripts.GetComponent <UIController>(); HSS = GameScripts.GetComponent <HighestScoreScript>(); BlackScreenRenderer = UCS.BlackScreen.GetComponent <Renderer>(); Players1Script = Player1.GetComponent <PlayerScript>(); Players2Script = Player2.GetComponent <PlayerScript>(); ParticleLimits(); UCS.StarsCountTextChange(0); StartCoroutine("StartGame"); StartCoroutine("ScoreChange"); }