Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: doncarlos91 on January 16, 2017, 05:20:05 AM
-
Hi Guys,
i have a some problem with my button onclick method (maybe)
#1 In Unity Editor , when im attaching the pressedSprite to UIbutton - touch effect works perfect, but when i`m trying to set the tween colour to pressed state of button , and when i`m running it to my Android device , the pressed view touch effect appears after 1 second approximately
here is my screenshot with my button settings
Any Suggestions? (https://n3plcpnl0044.prod.ams3.secureserver.net:2083/cpsess6474382537/frontend/gl_paper_lantern/filemanager/showfile.html?file=screen.png&fileop=&dir=%2Fhome%2Fasata%2Fpublic_html&dirop=&charset=&file_charset=&baseurl=&basedir=)
-
Hi Guys,
i have a some problem with my button onclick method (maybe)
#1 In Unity Editor , when im attaching the pressedSprite to UIbutton - touch effect works perfect, but when i`m trying to set the tween colour to pressed state of button , and when i`m running it to my Android device , the pressed view touch effect appears after 1 second approximately
Any Suggestions?
-
Button script adds a tween to the sprite. You can't tween the same sprite's color that's affected by the button. Either color a different sprite, or don't use the button script.
-
Hi Aren , thanks for you reply, i have fixed that issue by setting the transition = 0 and it solved my visual effect problem :)