Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: srancsik on November 06, 2013, 04:57:42 PM

Title: SOLVED - Problem with implementing widgets (none of animations are working)
Post by: srancsik on November 06, 2013, 04:57:42 PM
Hello All,

I would like to ask you a question. I have NGUI 3.0 full version installed in one of my projects. If I add new widget (say a button) to the scene, it can be resized, positioned, collider is working, but none of the animations seem to work. I tried removing the whole NGUI package and reimporting it, but no help.

The most strange is, that if I start an absolutely new project, it works flawlessly.
I checked console messages, no errors appear.

What can cause this problem? Any help or hints are thanked in advance.
Title: Re: Problem with implementing widgets (none of animations are working)
Post by: ArenMook on November 07, 2013, 04:48:18 AM
What's being animated? Make sure the "static" flag isn't checked on the UIPanel script, or its game object (two different flags).
Title: Re: SOLVED - Problem with implementing widgets (none of animations are working)
Post by: srancsik on November 07, 2013, 05:41:31 AM
Dear ArenMook,

Thank you for the answer I found the error.
Basically instead of the generated camera comming with the UI Panel, I wanted to put everything on the project's main camera, and UI Panel plus Camera scripts I forgot to move to Main Camera.

Sorry for the inconvenience.
Balázs