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
initialValueTisEnabledbool
Properties
Enabled
public readonly bool Enabled { get; }
Property Value
Value
public readonly T Value { get; }
Property Value
- T