A handler object that subscribes to Quantum callbacks to handle Unity scene loading and unloading. More...
Inherits IDisposable.
Public Member Functions | |
QuantumCallbackHandler_UnityCallbacks (QuantumGame game) | |
Creates a new instance of the QuantumCallbackHandler_UnityCallbacks class. More... | |
void | Dispose () |
Dispose the object, unsubscribe from Quantum callbacks. Will log a warning if a map loading or unloading is still in progress. Will start a coroutine to unload the current scene if it was not unloaded yet. More... | |
Static Public Member Functions | |
static IDisposable | Initialize () |
Init and subscribe to Quantum callbacks. More... | |
A handler object that subscribes to Quantum callbacks to handle Unity scene loading and unloading.
|
inline |
Creates a new instance of the QuantumCallbackHandler_UnityCallbacks class.
game | Referenced game |
|
inlinestatic |
Init and subscribe to Quantum callbacks.
|
inline |
Dispose the object, unsubscribe from Quantum callbacks. Will log a warning if a map loading or unloading is still in progress. Will start a coroutine to unload the current scene if it was not unloaded yet.