Photon Quantum 3.0.0

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

The result of QuantumGlobalScriptableObjectSourceAttribute.Load. Contains the loaded object and an optional unloader delegate. More...

Public Member Functions

 QuantumGlobalScriptableObjectLoadResult (QuantumGlobalScriptableObject obj, QuantumGlobalScriptableObjectUnloadDelegate unloader=null)
 

Static Public Member Functions

static implicit operator QuantumGlobalScriptableObjectLoadResult (QuantumGlobalScriptableObject result)
 Implicitly converts a QuantumGlobalScriptableObject to a QuantumGlobalScriptableObjectLoadResult. More...
 

Public Attributes

readonly QuantumGlobalScriptableObject Object
 Object instance. More...
 
readonly QuantumGlobalScriptableObjectUnloadDelegate Unloader
 An optional delegate that is used to unload Object. More...
 

Detailed Description

The result of QuantumGlobalScriptableObjectSourceAttribute.Load. Contains the loaded object and an optional unloader delegate.

Constructor & Destructor Documentation

◆ QuantumGlobalScriptableObjectLoadResult()

Quantum.QuantumGlobalScriptableObjectLoadResult.QuantumGlobalScriptableObjectLoadResult ( QuantumGlobalScriptableObject  obj,
QuantumGlobalScriptableObjectUnloadDelegate  unloader = null 
)
inline
Parameters
objObject instance.
unloaderAn optional delegate that is used to unload obj .

Member Function Documentation

◆ operator QuantumGlobalScriptableObjectLoadResult()

static implicit Quantum.QuantumGlobalScriptableObjectLoadResult.operator QuantumGlobalScriptableObjectLoadResult ( QuantumGlobalScriptableObject  result)
static

Implicitly converts a QuantumGlobalScriptableObject to a QuantumGlobalScriptableObjectLoadResult.

Member Data Documentation

◆ Object

readonly QuantumGlobalScriptableObject Quantum.QuantumGlobalScriptableObjectLoadResult.Object

Object instance.

◆ Unloader

readonly QuantumGlobalScriptableObjectUnloadDelegate Quantum.QuantumGlobalScriptableObjectLoadResult.Unloader

An optional delegate that is used to unload Object.