basic resource value that does not change on its own
inherit from this class to implement resources with custom logic
https://adventure.softleitner.com/manual/resource
|
virtual bool | Change (float value, Object source=null) |
|
virtual bool | Set (float value, Object source=null) |
|
virtual bool | ResetValue () |
|
virtual void | SetMaximum (float value, Object source=null) |
|
override string | ToString () |
|
|
ResourceType | Type |
|
float | Maximum |
|
float | Value |
|
UnityEvent< float > | Changed |
|
UnityEvent< float > | MaximumChanged |
|
|
virtual void | Awake () |
|
virtual void | Update () |
|
virtual float | applyCaps (float value) |
|
virtual void | onValueChanged () |
|
virtual void | onMaximumChanged () |
|