Beispiel #1
0
    private void OnTimerEnded()
    {
        this.IsGameActive = false;
        this.StopAllCoroutines();
        for (int i = 0, count = allSynapses.Count; i < count; i++)
        {
            Synapse synapse = allSynapses[(SynapseLocation)i];
            synapse.StopAllCoroutines();
            synapse.SetSynapseMode(SynapseMode.OneTimeNegative);
        }

        gameOverUI.SetActive(true);
    }