예제 #1
0
 // Update is called once per frame
 void Update()
 {
     timer.Increment(Time.deltaTime);
     if (timer.IsTimeUp())
     {
         timer.Reset();
         Tick();
     }
 }