NetworkPrefabsDatabase Members
The NetworkPrefabsDatabase type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetNextId |
Generates the next available network ID for a new prefab entry.
|
|
GetPrefab(Int32) |
Retrieves a prefab entry by its network ID.
|
|
GetPrefab(GameObject) |
Retrieves a prefab entry by its GameObject.
|
|
GetPrefabObjects |
Retrieves the GameObjects for all registered prefab entries.
|
|
GetPrefabs |
Retrieves all registered prefab entries.
|
|
PrefabExists |
Checks if a prefab is already registered in the database.
|
|
RegisterPrefab |
Registers a new prefab in the database.
|
|
UnregisterPrefab(GameObject) |
Unregisters a prefab by its GameObject.
|
|
UnregisterPrefab(NetworkPrefabEntry) |
Unregisters a prefab by its NetworkPrefabEntry.
|