Photon Quantum 3.0.0

Public Member Functions | Public Attributes | Properties | List of all members
Quantum.QuantumAssetSourceStaticLazy< T > Class Template Reference

An edit-time optimised version of QuantumAssetSourceStatic<T>, taking advantage of Unity's lazy loading of assets. At runtime, this type behaves exactly like QuantumAssetSourceStatic<T>, except for the inability to use runtime-created objects. More...

Public Member Functions

void Acquire (bool synchronous)
 
void Release ()
 
WaitForResult ()
 

Public Attributes

bool IsCompleted => true
 
LazyLoadReference< T > Object
 The asset reference. Can only point to an asset, runtime-created objects will not work. More...
 

Properties

string Description [get]
 
LazyLoadReference< T > Prefab [get, set]
 

Detailed Description

An edit-time optimised version of QuantumAssetSourceStatic<T>, taking advantage of Unity's lazy loading of assets. At runtime, this type behaves exactly like QuantumAssetSourceStatic<T>, except for the inability to use runtime-created objects.

Template Parameters
T
Type Constraints
T :UnityEngine.Object 

Member Data Documentation

◆ Object

LazyLoadReference<T> Quantum.QuantumAssetSourceStaticLazy< T >.Object

The asset reference. Can only point to an asset, runtime-created objects will not work.