Manages and references the current instance of NetworkProjectConfig More...
Inherits FusionGlobalScriptableObject< T >.
Classes | |
struct | SerializableSimulationBehaviourMeta |
An auto-generated list containing meta information about all the SimulationBehaviours in the project, e.g. execution order. More... | |
Static Public Member Functions | |
static bool | TryGetGlobal (out NetworkProjectConfigAsset global) |
Try to get the current NetworkProjectConfig instance. | |
static void | UnloadGlobal () |
Unload the current NetworkProjectConfig instance. | |
Public Attributes | |
SerializableSimulationBehaviourMeta[] | BehaviourMeta = Array.Empty<SerializableSimulationBehaviourMeta>() |
An auto-generated list containing meta information about all the SimulationBehaviours in the project, e.g. execution order. | |
NetworkProjectConfig | Config = new NetworkProjectConfig() |
The current NetworkProjectConfig instance. | |
NetworkPrefabTableOptions | PrefabOptions = NetworkPrefabTableOptions.Default |
Options for the NetworkPrefabTable. | |
List< INetworkPrefabSource > | Prefabs = new List<INetworkPrefabSource>() |
An auto-generated list containing source information (e.g. Resource path, address, static reference) for all the prefabs that can be spawned, i.e. the ones with NetworkObject component and NetworkObject.IsSpawnable enabled. Additional prefabs can registered at runtime with NetworkPrefabTable.TryAddSource. | |
Properties | |
static NetworkProjectConfigAsset | Global [get] |
The current NetworkProjectConfig instance. | |
static bool | IsGlobalLoaded [get] |
True if the NetworkProjectConfig instance exists, otherwise false. | |
Manages and references the current instance of NetworkProjectConfig
|
static |
Try to get the current NetworkProjectConfig instance.
global | NetworkProjectConfig instance if it exists, otherwise null. |