com.onlineobject.objectnet Namespace

NetworkObjectExtension..::..InjectNetwork Method

Injects a network component into the GameObject if it does not already have one.

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

Syntax


public static void InjectNetwork(

	this GameObject gameObject

)

Parameters

gameObject
Type: GameObject
The GameObject to inject the network component into.