Photon Fusion
2.0.0
Fusion
NetworkPrefabTableOptions
Public Attributes
|
Static Public Attributes
|
List of all members
NetworkPrefabTableOptions Struct Reference
Options for the NetworkPrefabTable.
More...
Public Attributes
bool
UnloadPrefabOnReleasingLastInstance
If true, prefabs will be unloaded when the last instance is released.
bool
UnloadUnusedPrefabsOnShutdown
If true, all prefabs will be unloaded on shutdown.
Static Public Attributes
static
NetworkPrefabTableOptions
Default
Default options.
Detailed Description
Options for the NetworkPrefabTable.
Member Data Documentation
◆
Default
NetworkPrefabTableOptions
Default
static
Initial value:
=
new
NetworkPrefabTableOptions() {
UnloadPrefabOnReleasingLastInstance
=
false
,
UnloadUnusedPrefabsOnShutdown
=
true
,
}
Fusion.NetworkPrefabTableOptions.UnloadUnusedPrefabsOnShutdown
bool UnloadUnusedPrefabsOnShutdown
If true, all prefabs will be unloaded on shutdown.
Definition
NetworkPrefabTable.cs:424
Fusion.NetworkPrefabTableOptions.UnloadPrefabOnReleasingLastInstance
bool UnloadPrefabOnReleasingLastInstance
If true, prefabs will be unloaded when the last instance is released.
Definition
NetworkPrefabTable.cs:419
Default options.