Method ShouldRunSystem
ShouldRunSystem()
Reports whether this system satisfies the criteria to update. This function is used internally to determine whether the system's OnUpdate function can be skipped.
Declaration
public bool ShouldRunSystem()
Returns
Type | Description |
---|---|
bool | True if the system should be updated, or false if not. |
Remarks
By default, systems will invoke OnUpdate every frame.
If a system calls Require
If a system has the Require
Note: Other factors might prevent a system from updating, even if this method returns true. For example, a system will not be updated if its [Enabled] property is false.