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 - HazardousInteractive

Pages: [1]
1
NGUI 3 Support / Re: Resizing UI Elements with Nodes in Unity 5.1.2
« on: July 21, 2015, 04:37:41 PM »
How stupid am I! THANKS!! I was killing myself over this one!

2
NGUI 3 Support / Resizing UI Elements with Nodes in Unity 5.1.2
« on: July 20, 2015, 10:49:28 AM »
I have tried clicking on different tools, like moving rotating and scaling but the blue nodes to resize and move UI elements do not appear, I can manually scale, but that will distort all childs and is a pain, and I can also manually move, but it won't snap like it used to in Unity 4, what can I do to fix this?

3
NGUI 3 Support / NGUI QualitySettings Javascript bug 3.5.4a
« on: May 08, 2014, 06:31:48 PM »
I was scripting a button's OnClick function when, to set the quality settings, like this
  1. #pragma strict
  2. var buttons : GameObject[];
  3. var quality : int;
  4.  
  5.  
  6. function Start () {
  7.  
  8. }
  9.  
  10. function OnClick () {
  11.         QualitySettings.SetQualityLevel(quality, true);
  12. }
  13.  
The console said: "SetQualityLevel is not a member of QualitySettings".
Then I though it was a bug with unity, but I did the same line in an empty project and it didn't hit a compiler error. Then I thought it was one of the plugins messing up, and I deleted a all the other plugins, but nothing so I had to restore them because the error didn't go away, then I deleted the NGUI and Plugins folder, and then it worked. I restored it and tried scripting the same thing in C# and it worked, even after doing the supposed "NGUI Javascript setup" where you move the folders to the plugins and ngui folder.

TL;DR:
QualitySettings.SetQualityLevel() doesn't work in js even after doing the js setup in NGUI.

4
NGUI 3 Support / Re: NGUI in 3D coordinates
« on: May 01, 2014, 09:23:23 AM »
If you are doing it in 2D, then you need to write a script that will scale the game object containing your healthbar based on the distance from the camera to the object the health bar is following.
And how can I make it be above the character?

5
NGUI 3 Support / NGUI in 3D coordinates
« on: April 30, 2014, 09:57:40 PM »
hello,

How can I make a GUI that hovers over a character to say to show its name/health etc... And gets smaller when the player goes farther or closer, and always faces the player

Pages: [1]