Enum value does not show correctly

SkyWalker

New member
flags.jpgIt shows nothing in Inspector.
It is truncated on the right.
I can't debug well.
Could you make it overflow so I can see all the enum?
C#:
[Flags]
public enum Buffstate2:long
{
WorldLvPurse= (1L << 1),
MOFADUN = (1L <<2),
}
 
Last edited:
If you initialize the variable then it should work - right now it's setting a default value of 0.
 
No. Right now it's 00000011(WorldLvPurse,MOFADUN). It is truncated on the right
Perhaps it does not support [Flags] in the inspector?
 
Top