CustomScheduler的元素
More...
◆ Start()
void XSSLG.CustomSchedulerItem.Start |
( |
Action |
func, |
|
|
float |
interval, |
|
|
int |
repeat, |
|
|
bool |
immediate, |
|
|
float |
delay, |
|
|
Action< CustomSchedulerItem > |
onFinishHandler = null |
|
) |
| |
|
inline |
- Parameters
-
func | 回调 |
interval | 间隔 |
repeat | |
immediate | 是否立即就调用 |
delay | |
onFinishHandler | |
◆ Stop()
virtual void XSSLG.CustomSchedulerItem.Stop |
( |
| ) |
|
|
inlinevirtual |
◆ Update()
void XSSLG.CustomSchedulerItem.Update |
( |
float |
dt | ) |
|
|
inline |
自定义定时器的update要手动调用
- Parameters
-
◆ UpdateDelay()
void XSSLG.CustomSchedulerItem.UpdateDelay |
( |
| ) |
|
|
inlineprotected |
◆ UpdateInterval()
void XSSLG.CustomSchedulerItem.UpdateInterval |
( |
| ) |
|
|
inlineprivate |
◆ Active
bool XSSLG.CustomSchedulerItem.Active = false |
|
getprotected set |
◆ Delay
float XSSLG.CustomSchedulerItem.Delay = 0 |
|
getsetprotected |
◆ Func
Action XSSLG.CustomSchedulerItem.Func |
|
getsetprivate |
◆ Interval
float XSSLG.CustomSchedulerItem.Interval = 0 |
|
getsetprivate |
◆ OnFinishHandler
◆ Repeat
int XSSLG.CustomSchedulerItem.Repeat = -1 |
|
getsetprivate |
◆ State
◆ UpdateTime
float XSSLG.CustomSchedulerItem.UpdateTime = 0 |
|
getsetprotected |
The documentation for this class was generated from the following file:
- Assets/XSGridEditor/Scripts/base/utils/schedule/Schedule.cs