Class SerializableEnum
Class to serizalize Enum as string and recover it's state
Namespace: UnityEngine.Rendering
Syntax
[Serializable]
public class SerializableEnum
Constructors
SerializableEnum(Type)
Construct an enum to be serialized with a type
Declaration
public SerializableEnum(Type enumType)
Parameters
Type | Name | Description |
---|---|---|
Type | enumType | The underliying type of the enum |
Properties
value
Value of enum
Declaration
public Enum value { get; set; }
Property Value
Type | Description |
---|---|
Enum |