com.onlineobject.objectnet Namespace

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

Plays the specified animation state on the given layer.

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

Syntax


public void Play(

	string stateName,

	int layerIndex

)

Parameters

stateName
Type: String
The name of the animation state to play.
layerIndex
Type: Int32
The layer on which to play the animation.