com.onlineobject.objectnet Namespace

NetworkObjectExtension..::..IsNetworkComponent Method

Checks if the GameObject has a network component attached.

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

Syntax


public static bool IsNetworkComponent(

	this GameObject gameObject

)

Parameters

gameObject
Type: GameObject
The GameObject to check.

Return Value

True if the GameObject has a NetworkInstantiateDetection component, false otherwise.