com.onlineobject.objectnet Namespace

NetworkPrefabsDatabase Members

The NetworkPrefabsDatabase type exposes the following members.

Methods


  Name Description
Public method GetNextId
Generates the next available network ID for a new prefab entry.
Public method GetPrefab(Int32)
Retrieves a prefab entry by its network ID.
Public method GetPrefab(GameObject)
Retrieves a prefab entry by its GameObject.
Public method GetPrefabObjects
Retrieves the GameObjects for all registered prefab entries.
Public method GetPrefabs
Retrieves all registered prefab entries.
Public method PrefabExists
Checks if a prefab is already registered in the database.
Public method RegisterPrefab
Registers a new prefab in the database.
Public method UnregisterPrefab(GameObject)
Unregisters a prefab by its GameObject.
Public method UnregisterPrefab(NetworkPrefabEntry)
Unregisters a prefab by its NetworkPrefabEntry.