"Value changed" event is called too soon if edited in inspector
This repository was archived by the owner on May 9, 2025. It is now read-only.
This repository was archived by the owner on May 9, 2025. It is now read-only.
Description
When you change variable's value in inspector, it triggers Target.Raise() before the value in SO is actually changed, e.g. if you have BoolVariable equal to false and click it in inspector, checkmark appears but listeners still get "false".
To fix it you should put a flag and call the event on next GUI frame that happens immediately anyway.
Metadata
Metadata
Labels
Development
No branches or pull requests
