com.onlineobject.objectnet Namespace

INetworkAnimation..::..Play Method (String, Int32)

Plays an animation state on a specific layer.

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

Syntax


void Play(

	string stateName,

	int layerIndex

)

Parameters

stateName
Type: String
The name of the animation state to play.
layerIndex
Type: Int32
The index of the layer where the animation will be played.