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

Pages: [1] 2
1
NGUI 3 Support / Re: NGUI change all my labels tex to Hexadecimal
« on: March 16, 2017, 05:22:24 AM »
If anyone need fix for this:
It's because "Force Text Mode" being enabled under "Asset Serialization" in "Edit > Project Settings > Editor". Change that setting to "Mixed" and you will never see this problem again.

2
NGUI 3 Support / Re: NGUI change all my labels tex to Hexadecimal
« on: March 15, 2017, 07:58:55 AM »
Version 3.10.2
Same thing.
I had something that sounds similar with a project. Importing NGUI had a Binary to YAML error, and all the scene references in ExampleMenu were numbers instead of strings. Every import of NGUI into that project caused this error. I recreated the project from source control, considering it some sort of Unity project corruption.

3
NGUI 3 Support / Re: EventDelegateEditor change request
« on: December 05, 2014, 09:51:04 AM »
Don't know, ben useing it for ages =)
You can always instead use
  1. list.Count > 0

PS i think Any() is using System.Linq;

4
NGUI 3 Support / Re: EventDelegateEditor change request
« on: December 03, 2014, 06:43:34 AM »
Determines whether a sequence contains any elements.

http://msdn.microsoft.com/en-us/library/vstudio/bb910253(v=vs.90).aspx

5
NGUI 3 Support / EventDelegateEditor change request
« on: December 02, 2014, 05:39:17 AM »
Hello, im using Field method of EventDelegateEditor draw EventDelegate field for my costume editor, and im getting Null refrence on multi-select of list variable. Adding
  1. if (list != null && list.Any())
fixes problem, so please add it to NGUI. Thx =)

  1. static public void Field (Object undoObject, List<EventDelegate> list, string noTarget, string notValid, bool minimalistic)
  2.         {
  3.                 bool targetPresent = false;
  4.                 bool isValid = false;
  5.  
  6.             if (list != null && list.Any())  //<------ this check
  7.             {
  8.                 // Draw existing delegates
  9.                 for (int i = 0; i < list.Count;)
  10.                 {
  11.                     EventDelegate del = list[i];
  12.  
  13.                     if (del == null || (del.target == null && !del.isValid))
  14.                     {
  15.                         list.RemoveAt(i);
  16.                         continue;
  17.                     }
  18.  
  19.                     Field(undoObject, del, true, minimalistic);
  20.                     EditorGUILayout.Space();
  21.  
  22.                     if (del.target == null && !del.isValid)
  23.                     {
  24.                         list.RemoveAt(i);
  25.                         continue;
  26.                     }
  27.                     if (del.target != null) targetPresent = true;
  28.                     isValid = true;
  29.                     ++i;
  30.                 }
  31.             }

6
NGUI 3 Support / Re: Toggle state sent at Start
« on: November 07, 2014, 07:27:52 AM »
Every time when i change something in NGUI, i just make a copy of script i'm changing with different name.
So next time NGUI updates it will only override original.

7
NGUI 3 Support / Re: Unity 5 Bugs
« on: November 05, 2014, 10:47:31 AM »
Ok i found what causing problem.
If you use NGUI type font, than its all good. No problems, but if you use Unity type font then you will get letters rotated.
Hope this helps.

8
NGUI 3 Support / Re: Unity 5 Bugs
« on: November 05, 2014, 07:43:00 AM »
OK something strange here. I just manually updated my small subproject on anther PC, and ...its fine.  :-\
I don't know what went wrong...or right but it works.
PS I did not used autoupdater at all...just mass replace of visual studio 13.

9
NGUI 3 Support / Re: Unity 5 Bugs
« on: November 04, 2014, 11:40:16 AM »
Thx, realy looking forward to it  :)

10
NGUI 3 Support / Re: Unity 5 Bugs
« on: November 04, 2014, 09:27:45 AM »
Unity b11 same problem, any news about this bug? Dose anyone found any solution?

11
NGUI 3 Support / Re: Can't see any elements
« on: July 15, 2014, 10:39:25 AM »
Atlas shader / sprite shader problem. Dig in that direction.
Check your shader on atlas material.

If its not too mach trouble, recreate atlas.

12
You can also use filled sprite.

13
NGUI 3 Support / Re: UILabel problem
« on: July 04, 2014, 06:08:23 AM »
Use Environment.NewLine
http://msdn.microsoft.com/en-us/library/system.environment.newline

As for bold and other properties, you can only specyfy proporty for whole UILabel component. If you want to change only one part of text, brake string on two parts and use two separate UIlabels to show them. And to change style of a text, use properties like UILabel.Effect and others.

More on http://www.tasharen.com/ngui/docs/class_u_i_label.html

14
NGUI 3 Support / Re: MissingReferenceException inside NGUI
« on: July 02, 2014, 06:50:06 AM »
Ok that helped! Thx you!
All i did is made

  1.     void OnEnable()
  2.     {
  3.         BattleMain.OnEquationChange += OnOnEquationChange;
  4.     }
  5.  
  6.     void OnDisable()
  7.     {
  8.         BattleMain.OnEquationChange -= OnOnEquationChange;
  9.     }
  10.  

15
NGUI 3 Support / Re: MissingReferenceException inside NGUI
« on: July 01, 2014, 12:07:17 PM »
Ok i think i found problem.
Before 3.6.6 this did not meter.
But on 3.6.6 you cant send two same events on same object in one update.
I dont know why =\ But removing one of event senders fixes problem.
Il test more tomorrow, but for now 1 hour testing confirmed this.

Pages: [1] 2