- Home /
How to stop iTweenEvent animation?
when i click the mouse button ,play itween. then how do i stop it ?iTweenEvent dont have "Stop()" method. i used to set the "enabled" true or false to control,it is obviously not a good way.
//this is my code
if(Input.GetMouseButtonUp(0)){
gameObject.GetComponent<iTweenEvent>().Play();
}else{
//animation stop.
}
Comment
Your answer
Follow this Question
Related Questions
triggering character bone anmimation from Itween 0 Answers
Null Ref Error with Playmaker and iTween 1 Answer
Rotation facing the right way problem 0 Answers
How to reset an game object's position 1 Answer
Problem with three lane movement 0 Answers