ScriptableObject-Architecture icon indicating copy to clipboard operation
ScriptableObject-Architecture copied to clipboard

Get old value and new value when suscribing to a value changed event

Open ReallyRad opened this issue 4 years ago • 1 comments

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!

ReallyRad avatar Dec 02 '21 20:12 ReallyRad

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.

LongChau avatar Dec 03 '21 06:12 LongChau