private void Awake()
        {
            if (singleton == null)
            {
                singleton = this;
            }
            else
            {
                print("ERROR: more than one singleton in game scene!");
            }

            textMesh = GetComponent <TMP_Text>();
        }
Beispiel #2
0
 private void Start()
 {
     bellDisplay = GetComponentInChildren <Image>();
     gameClock   = GetComponent <GameClock>();
     RandomizeBellTimer();
 }