Optional
Last updated
Last updated
namespace:
A wrapper class for generic types. The Enabled
field should be used instead of expensive null checks on variables. A custom PropertyDrawer
allows Enabled
and Value
to be viewed/edited.
public T Value
: The value being wrapped.
public bool Enabled
: If this variable should be used.