- Home /
animations not change when OnGUI button click in unity3d Vuforia?
Hi everyone,
Please help me for this issue,The problem is animations are not changing when am I clicking OnGUI Button in vuforia ontrackingevents.
I am working in vuforia unity3d...
system configuration: unity3d 4.3.3 vuforia latest version
I need to do when am clicking OnGUI button the required animation should be play.Its working well in unity editor but it was not playing on android device.
I stuck with this issue from last four days itself..
have tried using something like this
void OnButtonClick()
{
GameObject.Find("$$anonymous$$y$$anonymous$$odel").animation.Play("$$anonymous$$yAnimation");
}
Then call that function on the button click
Answer by librosar · May 15, 2014 at 07:47 AM
Calum.McManus Thanks for this answer you help me so much, really thanks man, really really thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220613135851im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Cloud recognition in Vuforia 0 Answers
How to get rid of the input selection screen at beginning of game 1 Answer
Leap motion and Unity positions 0 Answers
unity 3D - android platform] problem on server side highscore get method on actual android device. 0 Answers
When export in Google Android Project, can I add activity ? 0 Answers