com.onlineobject.objectnet Namespace

AnimatorExtensions..::..Play Method

Plays the specified state on the animator.

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

Syntax


public static void Play(

	this Animator animator,

	string stateName

)

Parameters

animator
Type: Animator
The Animator to play the state on.
stateName
Type: String
The name of the state to play.