Welcome,
Guest
. Please
login
or
register
.
May 14, 2026, 03:04:23 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to loop with UIButton Play Animation
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to loop with UIButton Play Animation (Read 4665 times)
Jason
Guest
How to loop with UIButton Play Animation
«
on:
June 24, 2012, 11:24:49 PM »
hi,
I'd like to loop my animation (made with Blender and imported natively). It loops was the Default take. But when activated with UIButton Play Animation, it only plays once.
Is there a setting I am missing?
Jason
Logged
joreldraw
Guest
Re: How to loop with UIButton Play Animation
«
Reply #1 on:
June 25, 2012, 07:59:16 AM »
You need to set up your animation import setting.
In project hierachy select your animation or object that contain the animation and change "Animation Wrap Mode" to "Loop".
Logged
Jason
Guest
Re: How to loop with UIButton Play Animation
«
Reply #2 on:
June 25, 2012, 11:23:52 AM »
I did that. Screenshot attached.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to loop with UIButton Play Animation
«
Reply #3 on:
June 25, 2012, 12:45:51 PM »
Don't use UIButtonPlayAnimation. Simply create a script that has OnClick() function, and inside it do animation.Play().
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How to loop with UIButton Play Animation