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

Pages: [1] 2 3 ... 6
1
NGUI 3 Support / About UI POPUP LIST
« on: February 04, 2018, 09:33:16 PM »
In this case i have a popup list under a panel that is aunder uiroot. when run and press on ui popup the dropdownlist is created under uiroot with a big big scale and so it fit outside the screen. i have notice that if i put it under the same panel of the uipopuplist and set scale to 1 i can see it right. but why this?

2
thanks.

3
excuseme related to this i have upgraded unity3d to 2017.1.1p2 and now project load but not compile because say ArgumentNullException: Argument cannot be null.
Parameter name: source

for two times. i don't kno w about hits error

4
there is some correlation with ngui? i don't use anyting of normal GUI this warnings repeat at 999 times even if cleared they are showed anytime.

5
NGUI 3 Support / Re: UIWrapContent and Streamreader.
« on: July 19, 2017, 08:52:13 PM »
Ok ArenMook i find the issue. So consider that my LoadText function works well when i call first time with a button that is under UIroot. Problems was in filename convention, windows admit filename like "Cocktails.txt" but dos (and so even streamreader) wants only lowercase filename.
Error was not only in my works because from windows and in particular form cmd command line i can read for example c:\Cocktails.txt and more my UiButton at first time works even if namefile is with uppercase...
Thanks for help now it's all ok.

6
NGUI 3 Support / Re: UIWrapContent and Streamreader.
« on: July 19, 2017, 09:52:18 AM »
Aren Mook follow me..use a button that launch the code i showed in post.
error sure happens when you use dinamic button inside scroll view. In my program i use create a new scrollview (complete with uiwrapcontent etc etc but without elements) and put buttons (with nguitools.addchild..) that launch my procedure. if button is in scroll view from the beginning works otherwise it make error in question..
it's sure..consider it..


7
NGUI 3 Support / Re: UIWrapContent and Streamreader.
« on: July 15, 2017, 10:41:21 AM »
put a button that when clicked use loadtext mentioned above under uiroot work anytime make the same with a button that is inside an endless scrool view don't work. it's simply and clear and you know that another person have the same problem, so this time we are sure that all understood my concepts.

8
NGUI 3 Support / Re: UITOGGLE AND ANDROID
« on: July 15, 2017, 10:37:33 AM »
"but open a dialog input like an input element" means that i touch an uitoggle element (that work and is toggled) but at the same time it's opened a dialog that ask an input string ...like if i have touched an UIInput element. i hope it's not so hard to understand.

9
NGUI 3 Support / UITOGGLE AND ANDROID
« on: July 11, 2017, 08:55:38 PM »
i must use uitoggle element inside a gui under android and when i click on element it works but open a dialog input like an input element. there are several toggles all inside an endless scroll view. naturally inside editor and pc works fine.

10
NGUI 3 Support / Re: UIWrapContent and Streamreader.
« on: July 11, 2017, 07:30:43 PM »
Barsmin..no news??

11
NGUI 3 Support / Re: UIWrapContent and Streamreader.
« on: July 06, 2017, 08:38:46 PM »
yes it print every time and make error after on new streamreader..
for me it's related to ngui because if i use it under a button under uiroot it work every time, but if i use in a button inside endlessscrollviews it make this error when i call (less for Start..call it at start work).
i have created another project inside unity, and it always make this error. Other friends have tried my simple funziotn with button created with unity gui and don't retrieve any error.

12
NGUI 3 Support / Re: endless scroll vies sort element problem
« on: July 06, 2017, 08:32:43 PM »
thanks Arenmook

13
NGUI 3 Support / Re: endless scroll vies sort element problem
« on: June 30, 2017, 09:51:30 AM »
i see this..first of run and after on run.

14
NGUI 3 Support / UIWrapContent and Streamreader.
« on: June 30, 2017, 09:30:35 AM »
I dont' know if title of the post is correct to 100% but this is my problem.
i have a class that load a text file, the name of the file is inside a variable (we say ie filename) and a funtion LoadText, load regular text file (made of strings that  end with "\n"
  • ).

So if i use a button that work with OnCLick to call LoadText after changing the filename inside my class, well it load the text file normally, but if i put this button inside a UIWrapContent (because i need several button inside an endless scroll view) unity say ne when click:

ArgumentException: path contains invalid characters.

So for resume...this is LoadText

public void LoadText (string nome)
   {      
      Debug.Log (nome);
      if (sr != null)
         sr.Dispose ();
         sr = new StreamReader ("Assets/Resources/"+nome + ".txt");
         temp = sr.ReadToEnd ();
         sr.Close ();
         
         }
   //   prodwrap.GetComponent<UIWrapContent>().WrapContent();
      prodwrap.SetActive(true);
      
         
   }

if i use in start or on enable when the button is inside uiwrap IT WORK but at second click it give the error on line with new StreamReader. i f i use it on a button with parent UIRoot it works at 100%, can changing name at runnign and reload relative text file whitout problems..
I hope i'm clear..





15
NGUI 3 Support / Re: gui disappear
« on: June 30, 2017, 09:19:03 AM »
simply i have not start funcition in any of my class that disable uiroot.
i not sure 100% it's clear because you say right if it is your case. thanks for help.

Pages: [1] 2 3 ... 6