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

Pages: [1]
1
NGUI 3 Support / Re: Creating a HUD w/ NGUI 3.5.6
« on: April 08, 2014, 09:25:00 PM »
Ahh sorry, this seems to be compatibility issue with UFPS not NGUI. Thanks

2
NGUI 3 Support / Creating a HUD w/ NGUI 3.5.6
« on: April 06, 2014, 11:08:56 PM »
I have asked the question on how to create a HUD before and I tried the old method and it didn't seem to work. I am using UFPS for my character and I wanted to create a pause menu. How do I go about making a HUD with NGUI? I have tried creating a UI and it hasn't worked. I also messed around with different components to no avail. Thanks for the help

3
NGUI 3 Support / Re: UIInput as a Console
« on: April 28, 2013, 12:24:31 PM »
OK thanks for the help!

4
NGUI 3 Support / Re: UIInput as a Console
« on: April 28, 2013, 12:00:43 AM »
But wouldn't this only work for loading levels and not other commands?

5
NGUI 3 Support / UIInput as a Console
« on: April 27, 2013, 11:37:53 PM »
Hello, I am trying to make a console to run commands and I have a problem with actually getting the command/

An example command that I have is to load a level

I know that this way works, but it is sloppy and inefficient:
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class LevelModifier : MonoBehaviour {
  5.        
  6.         public UIInput uii;
  7.        
  8.         void Start () {
  9.                
  10.                 uii = GetComponent<UIInput>();
  11.         }
  12.         void OnSubmit(){
  13.                
  14.                 if(uii.text == "loadLevel 0"){
  15.                         Application.LoadLevel(0);
  16.                        
  17.                 }else if(uii.text == "loadLevel 1"){
  18.                         Application.LoadLevel(1);
  19.                        
  20.                 }else if(etc,etc){
  21.                        
  22.                 }
  23.         }
  24. }
  25.  

I vaguely remember using %i in c++ but I don't think it will apply in this situation.

What would be the best method for going about getting the number in the string?

6
NGUI 3 Support / Re: Making a HUD
« on: February 02, 2013, 07:00:06 PM »
Thanks It works!

7
NGUI 3 Support / Re: Making a HUD
« on: February 02, 2013, 06:20:03 PM »
And will the GUI be moving or will it be still as the camera moves?

8
NGUI 3 Support / Re: Making a HUD
« on: February 02, 2013, 06:03:02 PM »
Yes but do I use a 2d UI or a 3d UI?

9
NGUI 3 Support / Making a HUD
« on: February 02, 2013, 03:50:50 PM »
I wanted to make a HUD for my game but I don't know how to arrange the UIRoot. Should I use 3D or 2D and how do I place the GUI over my ingame camera?
 Thank You!

10
NGUI 3 Support / Re: NGUI Webplayer won't show
« on: January 28, 2013, 10:06:58 PM »
Thank You

11
NGUI 3 Support / NGUI Webplayer won't show
« on: January 28, 2013, 08:21:48 PM »
Hello I have a problem with NGui when I build a scene for webplayer the menu does not load at al but if I click where the button would be then the level I want loads.

Pages: [1]