public void Start() { health = GetComponent <Health> (); quorum = GetComponent <Quorum> (); qc = FindObjectOfType <QuorumController> (); HideBodies(); }
void Start() { ComputeQuorumValue(); UpdateCanvas(); bacs = new Bacteria[5, 5]; Time.timeScale = 0; GameObject player = GameObject.FindWithTag("Player"); playerQuorum = player.GetComponent <Quorum> (); lastPausePoints = points; if (loopSource && MenuLoop) { loopSource.clip = MenuLoop; loopSource.Play(); } }