Photon Fusion 2.0.4

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FusionGlobalScriptableObjectLoadResult Struct Reference

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

Public Member Functions

 FusionGlobalScriptableObjectLoadResult (FusionGlobalScriptableObject obj, FusionGlobalScriptableObjectUnloadDelegate unloader=null)
 

Static Public Member Functions

static implicit operator FusionGlobalScriptableObjectLoadResult (FusionGlobalScriptableObject result)
 Implicitly converts a FusionGlobalScriptableObject to a FusionGlobalScriptableObjectLoadResult. More...
 

Public Attributes

readonly FusionGlobalScriptableObject Object
 Object instance. More...
 
readonly FusionGlobalScriptableObjectUnloadDelegate Unloader
 An optional delegate that is used to unload Object. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FusionGlobalScriptableObjectLoadResult()

Parameters
objObject instance.
unloaderAn optional delegate that is used to unload obj .

Member Function Documentation

◆ operator FusionGlobalScriptableObjectLoadResult()

static implicit operator FusionGlobalScriptableObjectLoadResult ( FusionGlobalScriptableObject  result)
static

Member Data Documentation

◆ Object

Object instance.

◆ Unloader

An optional delegate that is used to unload Object.