Photon Quantum 3.0.0

Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
Quantum.OptionalGizmoBool Struct Reference

Allows optional gizmo values to be serialized in the inspector. More...

Public Member Functions

 OptionalGizmoBool (bool value)
 Create a new optional gizmo value with the given value. More...
 

Static Public Member Functions

static implicit operator bool (OptionalGizmoBool optional)
 Implicitly convert an optional gizmo value to a bool. More...
 
static implicit operator OptionalGizmoBool (bool value)
 Implicitly convert a bool to an optional gizmo value. More...
 

Public Attributes

bool HasValue => _hasValue
 Does this optional value have a value. More...
 

Properties

bool? Value [get, set]
 The value of this optional value. More...
 

Detailed Description

Allows optional gizmo values to be serialized in the inspector.

Constructor & Destructor Documentation

◆ OptionalGizmoBool()

Quantum.OptionalGizmoBool.OptionalGizmoBool ( bool  value)
inline

Create a new optional gizmo value with the given value.

Parameters
value

Member Function Documentation

◆ operator bool()

static implicit Quantum.OptionalGizmoBool.operator bool ( OptionalGizmoBool  optional)
static

Implicitly convert an optional gizmo value to a bool.

Parameters
optional
Returns

◆ operator OptionalGizmoBool()

static implicit Quantum.OptionalGizmoBool.operator OptionalGizmoBool ( bool  value)
static

Implicitly convert a bool to an optional gizmo value.

Parameters
value
Returns

Member Data Documentation

◆ HasValue

bool Quantum.OptionalGizmoBool.HasValue => _hasValue

Does this optional value have a value.

Property Documentation

◆ Value

bool? Quantum.OptionalGizmoBool.Value
getset

The value of this optional value.