com.onlineobject.objectnet Namespace

GameObjectList..::..HasChildScript Method

Determines whether any GameObject in the list contains the specified MonoBehaviour script.

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

Syntax


public bool HasChildScript(

	MonoBehaviour script

)

Parameters

script
Type: MonoBehaviour
The MonoBehaviour script to check for.

Return Value

True if any GameObject contains the script; otherwise, false.