com.onlineobject.objectnet Namespace

NetworkGameObject..::..NetworkInstantiate Method (GameObject)

Instantiates a GameObject over the network using its default position and rotation.

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

Syntax


public static bool NetworkInstantiate(

	GameObject prefab

)

Parameters

prefab
Type: GameObject
The GameObject prefab to instantiate.

Return Value

True if the instantiation was successful, false otherwise.