com.onlineobject.objectnet Namespace

NetworkPrefabsDatabase..::..PrefabExists Method

Checks if a prefab is already registered in the database.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public bool PrefabExists(

	GameObject prefab

)

Parameters

prefab
Type: GameObject
The GameObject to check.

Return Value

True if the prefab exists, false otherwise.