Yeah, I know that editor code. but try it as irregular number like
[System.Flags]
enum Flag
{
Seven << 1
Bar << 2
Hello << 20
}
and I know It does work with editor when we just set it up. But if we want to save that value in prefab or FSM, BehaviourTree of Json file, than, you won’t see the “Hello” enum value. It will not be saved in the file (prefab, blabla.asset(FSM asset). So weird
Login
Register
By registering on this website you agree to our Privacy Policy.