PlayerLoopTimer Class
Assembly: UniTask.dll
public abstract class PlayerLoopTimer : IDisposable, IPlayerLoopItem
Inheritance
object →
PlayerLoopTimer
Members
Constructors
Methods
Name |
Description |
Create(TimeSpan, bool, DelayType, PlayerLoopTiming, CancellationToken, Action<object>, object)
|
|
Dispose()
|
|
MoveNextCore()
|
|
ResetCore(TimeSpan?)
|
|
Restart()
|
|
Restart(TimeSpan)
|
|
StartNew(TimeSpan, bool, DelayType, PlayerLoopTiming, CancellationToken, Action<object>, object)
|
|
Stop()
|
|
Constructors
PlayerLoopTimer(bool, PlayerLoopTiming, CancellationToken, Action<object>, object)
protected PlayerLoopTimer(bool periodic, PlayerLoopTiming playerLoopTiming, CancellationToken cancellationToken, Action<object> timerCallback, object state)
Methods
Create(TimeSpan, bool, DelayType, PlayerLoopTiming, CancellationToken, Action<object>, object)
public static PlayerLoopTimer Create(TimeSpan interval, bool periodic, DelayType delayType, PlayerLoopTiming playerLoopTiming, CancellationToken cancellationToken, Action<object> timerCallback, object state)
MoveNextCore()
protected abstract bool MoveNextCore()
ResetCore(TimeSpan?)
protected abstract void ResetCore(TimeSpan? newInterval)
Restart(TimeSpan)
public void Restart(TimeSpan interval)
StartNew(TimeSpan, bool, DelayType, PlayerLoopTiming, CancellationToken, Action<object>, object)
public static PlayerLoopTimer StartNew(TimeSpan interval, bool periodic, DelayType delayType, PlayerLoopTiming playerLoopTiming, CancellationToken cancellationToken, Action<object> timerCallback, object state)
Implements
Extension Methods