Delegate WatchersSystem.WatchValueDelegateBool
Namespace: Unity.Tiny.Watchers
Syntax
public delegate bool WatchValueDelegateBool(Entity e, bool oldValue, bool value, Watcher source);
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | e | |
| System.Boolean | oldValue | |
| System.Boolean | value | |
| Watcher | source |
Returns
| Type | Description |
|---|---|
| System.Boolean | Return true to keep this watcher around, false to remove it. |