ScriptableObject-Architecture
ScriptableObject-Architecture copied to clipboard
Get old value and new value when suscribing to a value changed event
Hello!
I would like to compare the old value with the new value generated when subscribing to some variable changes. Is this supported or do I have to find a workaround somehow?
Thanks!
Is this supported I don't think it is supported.
do I have to find a workaround somehow? Yeah. Maybe you need to cache the old value and compare with the new value.