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.


Messages - webik150

Pages: 1 2 [3]
31
NGUI 3 Support / Animation on button click.
« on: April 11, 2013, 12:11:15 PM »
Hi. I'm trying to make a game menu. I have buttons, panels, and almost all things I need. Only thing I don't have are scripts. I really suck at scripting (If I was good at it I wouldn't be asking for help). I have made animation with 2 clips (which moves whole panels), and put it onto Anchor. Now I'm trying to make the animation play on a button press. This is what I got so far:
  1. using UnityEngine;
  2.  
  3. public class ClickEventReceiver : MonoBehaviour
  4. {
  5.         void OnLoadClicked ()
  6.         {
  7.                 UIButtonPlayAnimation(Anchor.Menu1); //I don't really know what to put there. Menu1 is name of the animation clip.
  8.         }
  9. }

Here is error what I get:
Quote
Assets/NewGameM.cs(7,17): error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected

Any help is appreciated.

32
NGUI 3 Support / Re: Need help with making menu!
« on: April 06, 2013, 02:43:23 PM »
1. Could you please post link?
2. Thanks

33
NGUI 3 Support / Need help with making menu!
« on: April 06, 2013, 12:03:28 PM »
Hi. Not long ago, I started with NGUI. I'm trying to make a menu with it, but I can't find how to change panels "onClick" anywhere. Nor any tween tutorials. What I'm asking for is:

1. How can I change panel (in-game) trough button click?

and

2. How can I activate NGUITween on button click?

I know these may be noob questions, but I searched trough google and I'm really helpless.
Thanks.

34
NGUI 3 Support / Re: My NGUI stopped working completely
« on: March 24, 2013, 02:08:39 PM »
Thanks. Helped. I don't know why, but it was because of ITween. There was
  1. error CS0101: The namespace `global::' already contains a definition for `iTween'
I don't know how to fix it, so I just deleted ITween, and it works again.

35
NGUI 3 Support / Re: Problem after upgrade
« on: March 24, 2013, 12:19:12 PM »
I have the same problem. I was searching for the errors in console, but I couldn't find any. The NGUI is completely unusable with this problem.

EDIT: Wait a sec... I have the exactly same problem, but it started out of nothing. I wasn't updating or anything. I just started unity and it popped out.

36
NGUI 3 Support / [Solved]My NGUI stopped working completely
« on: March 24, 2013, 06:30:25 AM »
Hi, I have been working with NGUI for few weeks, but today, when I started up unity, NGUI wasn't there. I can see the NGUI folder in Assets manager, but none of the scripts works and I cannot see NGUI button on the heading (or how is it called). Does anybody know whats the problem, or how to fix it? I have Unity 4.0.0f7 and NGUI 2.5.0.

Thanks.
Also sorry for bad English.

Pages: 1 2 [3]