Class CustomAIBehaviors
Inheritance
object
CustomAIBehaviors
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class CustomAIBehaviors
Methods
Add(CustomAIUpdate, int)
Updates with lower priority value will be executed first. Return true on update if you want to stop execution of further AI updates.
Declaration
public void Add(CustomAIUpdate onUpdate, int priority = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomAIUpdate | onUpdate | |
| int | priority |
Remove(CustomAIUpdate)
Declaration
public void Remove(CustomAIUpdate onUpdate)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomAIUpdate | onUpdate |