Photon Fusion 2.0.0

Public Member Functions | Properties | List of all members
INetworkAssetSource< T > Interface Template Reference

Interface for a network asset source. More...

Public Member Functions

void Acquire (bool synchronous)
 Acquires the network asset.
 
void Release ()
 Releases the network asset.
 
WaitForResult ()
 Waits for the result of the network asset acquisition.
 

Properties

string Description [get]
 Gets the description of the network asset.
 
bool IsCompleted [get]
 Checks if the network asset acquisition is completed.
 

Detailed Description

Interface for a network asset source.

Template Parameters
TType of the network asset.

Member Function Documentation

◆ Acquire()

void Acquire ( bool  synchronous)

Acquires the network asset.

Parameters
synchronousIf true, the acquisition is done synchronously.

◆ WaitForResult()

T WaitForResult ( )

Waits for the result of the network asset acquisition.

Returns
The network asset.