Class SerializableEnum
Class to serizalize Enum as string and recover it's state
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
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 as enum
Declaration
public Enum value { get; set; }
Property Value
| Type | Description |
|---|---|
| Enum |