Table of Contents

Class PowerEnum<TEnum, TCustom>

[Serializable]
public abstract class PowerEnum<TEnum, TCustom> where TEnum : Enum where TCustom : UnityEngine.Object

Type Parameters

TEnum
TCustom
Inheritance
PowerEnum<TEnum, TCustom>
Derived
Inherited Members

Constructors

PowerEnum()

public PowerEnum()

PowerEnum(TEnum)

public PowerEnum(TEnum enumValue)

Parameters

enumValue TEnum

PowerEnum(TEnum, TCustom)

public PowerEnum(TEnum enumValue, TCustom customValue)

Parameters

enumValue TEnum
customValue TCustom

PowerEnum(TEnum, TCustom, bool)

public PowerEnum(TEnum enumValue, TCustom customValue, bool useCustom)

Parameters

enumValue TEnum
customValue TCustom
useCustom bool

Fields

useCustom

protected bool useCustom

Field Value

bool

Properties

EnumValue

public TEnum EnumValue { get; }

Property Value

TEnum

UseCustom

public bool UseCustom { get; }

Property Value

bool

Value

public TCustom Value { get; }

Property Value

TCustom