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