Suppose I have an enum like this:
#[derive(Default, Reflect, FromReflect)]
enum E {
#[default]
A,
#[reflect(ignore)]
B,
C,
}
Based on my tests, when I try to serialize such a type, the engine actually does serialize E::B. So what happens when this is loaded? Does it just load default? Is this even correct usage or is the ignored attribute... ignored... 😛 on enums?