Interface ITickOnDemand
Interface for components (and other objects) which may want to have call to TickOnDemand() when closest Eco.Gameplay.Objects.WorldObjectManager.TickAll happens. It it was added within Tick() then it will be processed same tick. They may be registered with AddToTick(ITickOnDemand).
Namespace: Eco.Gameplay.Objects
Assembly: Eco.Gameplay.dll
Syntax
public interface ITickOnDemand
Properties
NextTickTime
Declaration
double NextTickTime { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
TickOnDemand()
Ticks only when explicitly requested (see ITickOnDemand docs). Returns false if it should be queued again.
Declaration
bool TickOnDemand()
Returns
| Type | Description |
|---|---|
| System.Boolean |