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