Photon Fusion 2.0.4

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. More...
 
bool UnloadUnusedPrefabsOnShutdown
 If true, all prefabs will be unloaded on shutdown. More...
 

Static Public Attributes

static NetworkPrefabTableOptions Default
 Default options. More...
 

Detailed Description

Options for the NetworkPrefabTable.

Member Data Documentation

◆ Default

NetworkPrefabTableOptions Default
static
Initial value:
= new NetworkPrefabTableOptions() {
}
bool UnloadUnusedPrefabsOnShutdown
If true, all prefabs will be unloaded on shutdown.
Definition: NetworkPrefabTable.cs:448
bool UnloadPrefabOnReleasingLastInstance
If true, prefabs will be unloaded when the last instance is released.
Definition: NetworkPrefabTable.cs:443

Default options.

◆ UnloadPrefabOnReleasingLastInstance

bool UnloadPrefabOnReleasingLastInstance

If true, prefabs will be unloaded when the last instance is released.

◆ UnloadUnusedPrefabsOnShutdown

bool UnloadUnusedPrefabsOnShutdown

If true, all prefabs will be unloaded on shutdown.