Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - neufoctobre

Pages: [1]
NGUI 3 Support / SendMessage not calling method but NGui Animations
« on: January 04, 2018, 01:17:30 PM »
Hi there,

Not sure this is a NGui problem but I become mad about a problem about sendMessage.

I have one script calling a sendMessage("OnClick") to UIButton. The gameObject where the UIButton is attached have some Methods and UIPlayAnimation attached on him.

The method of UIButton are not called but the UIPlayAnimation attached to the gameObject are called. I have other button and a previous project with exact same code and working well, but One of my buttons method are not called. I found a solution by adding this line :

EventDelegate.Execute (Button.onClick);

This is driving me crazy, can't found why it's not working even any idea ....

Thanks !

NGUI 3 Support / Converting a project to Ngui
« on: November 14, 2017, 12:18:40 PM »
Hello everybody,

I would like to convert a game template bought on asset store to Ngui because this asset will be a part of my game which is entirely made with Ngui.

So as a newbie about coding in general, I post here because I would like to know if there is any recommandation or warning by doing this. (I did it before but not sure I did this in a good way).

Thanks !

NGUI 3 Support / ActiveAnimation loop and playing multiple clip
« on: August 01, 2016, 08:51:02 AM »

I wanted to know if there is a way, using ActiveAnimation.Play to loop an animation because when I call it, the animation play only one time.
I have multiple clip attached to an animation and I want to be able to play some in loop mode, some once.
And second thing, is there a way to play two clips at same time using activeAnimation ?
Thanks in advance !

NGUI 3 Support / Avoid Click same time
« on: January 05, 2016, 09:14:53 AM »

1. May be my question will be stupid but I wonder how to avoid fast click or click at same time. My problem is, I have a button 1 animation telling a buttton 2 to move out of screen, during this short animation I'm able to click on the animated button 2 and that is a problem, I have this problem for all my buttons. The only solution I found is to active a collider above all other for the entire screend during the animation but I still can click the button if I click enough fast..

2. In a same way, can I say to UIPlayAnimation to don't do anything if an object is enable. For example like above, I have a button 1 animation who enable a disabled button 2 which is out of screen and when the animation is done the button is on screen, If I clicked again on button 1 the animation begin again, I want to avoid that.

Thanks in advance !

NGUI 3 Support / UIPlay Animation Performances
« on: November 08, 2015, 02:02:10 PM »

I'm a novice about NGui and coding in general, and I wonder if UIPlayAnimation have good performance, because I'm exclusively using this script for all my menu and some gameobject have around 15 UIPlayAnimation attached. Is it safe ?

Thanks !!

NGUI 3 Support / UIButton OnClick method is crazy
« on: October 05, 2015, 12:36:49 PM »
Hi everybody,

I just updated Ngui to 3.9.4, and I noticed that all my UIButton/OnClick method are pointing the wrong direction. For example I have a button with InApp purchase script connected, but the inspector show me Its pointing an other script. The strange thing is, the game is working well, all button do they are supposed to do but I'm not able to create new button because the method is always wrong...

Thanks !

Pages: [1]