예제 #1
0
 public void Start()
 {
     isStart   = true;
     startTime = Time.time;
     curTime   = startTime;
     endTime   = curTime + duration;
     TimeMgr.AddTimer(this);
     if (OnStart != null)
     {
         OnStart();
     }
 }