Table of Contents

Struct Optional<T>

Namespace
Ceres
Assembly
Ceres.dll

A replacement of Nullable<T> that can be edited in the inspector

public struct Optional<T>

Type Parameters

T
Inherited Members

Constructors

Optional(T, bool)

public Optional(T initialValue, bool isEnabled = true)

Parameters

initialValue T
isEnabled bool

Properties

Enabled

public readonly bool Enabled { get; }

Property Value

bool

Value

public readonly T Value { get; }

Property Value

T