OnValidate

Visual studio cant find OnValidate what am i missing?

This is likely Visual Studio Code misbehaving (which happens a lot).
You can verify OnValidate() is being called within Unity with a Debug.Log(). Any time you make a change, you will then get a Debug.Log indicating OnValidate() is firing.

Privacy & Terms