예제 #1
0
 // Use this for initialization
 void Start()
 {
     text      = transform.Find("Countdown").GetComponent <Text>();
     countdown = TimerBase.RegisterCountdown(66, TimeType.hhmmss, text,
                                             () => { Debug.LogError("Countdown completed."); },
                                             1,
                                             this);
     countdown.Run();
 }