Unity State Enum Sample
A sample Unity project using a state enum ScriptableObject + MonoBehaviours with UnityEvents
Unity Project
Built with Unity 2020.3.13f1 · download the source from GitHub
README
State Enum Sample
A sample Unity project using a state ScriptableObject + MonoBehaviours with UnityEvents.
It uses OnValidate to invoke events in Editor Mode when changing the state
values in StateSO.
Currently, state consists of two fields: an enum value and a boolean flag.
There are two MonoBehaviour scripts, one for handling each field separately.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In