public void ResetTicks()
 {
     FirstTick.SetActive(false);
     SecondTick.SetActive(false);
     ThirdTick.SetActive(false);
     FourthTick.SetActive(false);
 }
Exemple #2
0
        // Update is called once per frame

        private IEnumerator Tick()
        {
            var tmp = new WaitForSeconds(1);

            while (true)
            {
                yield return(tmp);

                SecondTick.SafeRaise(this, EventArgs.Empty);
            }
        }