Closed JaXt0r closed 3 months ago
Unity offers no out-of-the-way feature to show/hide properties on inspector view based on other values. But it provides an API to build it.
Example: GameConfiguration.SelecrSpecificNpcsToSpawn should be visible if SpawnNPCs is activated only.
This ensures complex MonoBehaviour elements are easy to use and dependencies among properties are visible.
Todos:
Hints:
I found a recommended Package which provides proper support for Separators, Groupings, etc. https://github.com/Deadcows/MyBox
Unity offers no out-of-the-way feature to show/hide properties on inspector view based on other values. But it provides an API to build it.
Example: GameConfiguration.SelecrSpecificNpcsToSpawn should be visible if SpawnNPCs is activated only.
This ensures complex MonoBehaviour elements are easy to use and dependencies among properties are visible.
Todos:
Hints: