| 12345678910111213141516171819202122 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class TimeTask
- {
- public Action callBack;
- public float remainingTime;
- public float count;
- public float delay;
- public bool pause;
- public TimeTask(Action callBack, float delay, float count)
- {
- this.callBack = callBack;
- this.remainingTime = delay;
- this.count = count;
- this.delay = delay;
- this.pause = false;
- }
- }
|