NetworkPrefabsDatabase..::..GetPrefab Method (GameObject)
Retrieves a prefab entry by its GameObject.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public NetworkPrefabEntry GetPrefab( GameObject prefab )
Parameters
- prefab
- Type: GameObject
The GameObject of the prefab.