Example #1
0
 private void AddTimer(int start, int interval, TimerEventObject.TimerProc proc, object obj, int p1, int p2)
 {
     if (timer == null)
     {
         timer = new TimerEvent(1);
     }
     timer.Add(start, interval, proc, obj, p1, p2);
 }
Example #2
0
 public void OpenUnAccessibleMsg()
 {
     UnAccessibleMsgMgr.Ins.Open(true);
     TimerEvent.Add(10f, () => { UnAccessibleMsgMgr.Ins.Open(false); });
 }