Skip to content
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.

"Value changed" event is called too soon if edited in inspector #86

@hadmaerd

Description

@hadmaerd

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.

5a3849cc41256a85f1e6844d753948f2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions