Esempio n. 1
0
		public void Reset()
		{
			this.delay = -1;
			this.handler = null;
			this.times = -1;
			this.curDelay = 0;
			this.curTimes = 0;
			this.startDelay = 0;
			state = SchedulerEntityState.Init;
		}
Esempio n. 2
0
		public void Init(SchedulerHandler handler,float delay,int times)
		{
			this.Init (handler);
			this.curDelay = 0;
			this.startDelay = 0;
			this.curTimes = 0;
			this.delay = delay;
			this.times = times;
			state = SchedulerEntityState.Init;
		}