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

Pages: [1] 2
1
Any updates on this? I still can't see it in the Pro version.

2
NGUI 3 Support / Re: Changing texture not updating
« on: September 20, 2012, 06:35:22 PM »
Nope. Does not help. It doesn't seem to refresh the actual UITexture children, unless I disable/enable them.

3
NGUI 3 Support / Re: Changing texture not updating
« on: September 20, 2012, 04:33:50 PM »
Yep.

4
NGUI 3 Support / Changing texture not updating
« on: September 20, 2012, 03:17:50 PM »
Hey,

I have a UITexture that updates it's mainTexture element every now and then, now the Texture field in the Inspector under the UITexture script updates to the new texture however it draws the old texture in game.

The panel has a hardclip. What I noticed is that whenever I disable/enable the UITexture it updates the drawn texture.

5
NGUI 3 Support / Re: DestroyImmediate Error
« on: July 19, 2012, 05:09:45 PM »
Yeah I was destroying it during collision however, I found out that the widget itself had a UIPanel and that caused this error. Now I have one UIPanel as a parent of the gameobject which fixed this issue.

6
NGUI 3 Support / DestroyImmediate Error
« on: July 19, 2012, 05:04:40 PM »
Hey Aren,

I keep getting the following:


Destroying object immediately is not permitted during physics trigger and contact callbacks. You must use Destroy instead.
Scene is being destroyed while there are hidden renderers that are using it. This is likely an editor script creating objects with hideFlags and leaving them enabled.

I follow the stack and it seems to be calling NGUITools.DestroyImmediate when I call Destroy on the gameobject that has a uilabel as a child.

7
NGUI 3 Support / Artificial Mouse
« on: July 17, 2012, 10:19:32 AM »
Hey Aren,

I was wondering if you would find this interesting to add to NGUI. Basically, we have a server talking to a client and we would like to add the ability to remotely control the client from the server by sending mouse events. Currently, NGUI has no way of detecting those events unless we hack the Input methods.

Do you have ideas how to solve this issue?

Thanks!

8
NGUI 3 Support / Re: Localize without UIRoot?
« on: June 29, 2012, 04:37:04 AM »
I had to call NGUITools.Broadcast to broadcast the message to all the objects in the scene since UIRoot.Broadcast does not call if there is no UIRoot class.

9
NGUI 3 Support / Localize without UIRoot?
« on: June 28, 2012, 03:59:34 PM »
Hey Aren,

Changing the language field of Localization doesn't seem to update my UI at all. It only updates once in the beginning of the level but never calls OnLocalize again.

10
Look at NGUIMath.

11
NGUI 3 Support / Re: Possible addition to UILocalize
« on: June 17, 2012, 08:32:42 PM »
That is true only if you have a background behind your text. In our case, the text is our button.

12
NGUI 3 Support / Possible addition to UILocalize
« on: June 17, 2012, 07:59:26 PM »
  1. mLanguage = loc.currentLanguage;
  2. if (gameObject.GetComponent<BoxCollider> () != null) {
  3. // Re-adjust the collider dimensions
  4. NGUITools.AddWidgetCollider (gameObject);
  5. }

To re-adjust the collider size of the text if it already has one on it.

13
NGUI 3 Support / Re: Windward Skill Icon (cooldown)
« on: May 29, 2012, 10:19:59 AM »
That would be a Radial Sprite.

14
NGUI 3 Support / Re: localization support for csv file?
« on: May 29, 2012, 10:14:55 AM »
It would be easy to add it as a public variable that defaults to '=' and allows anyone to change it in the editor.

15
NGUI 3 Support / Localization prioritization
« on: May 28, 2012, 01:14:08 PM »
Hey Aren,

I was wondering if the value for "Starting Language" should be higher priority than the playerprefs, since currently it ignores it and goes with what the playerprefs value is. It took me a while to figure out why it choose spanish as my language when I clearly said English should be the Starting Language, but it was because I started testing spanish first so what happened was it stored that value in the playerprefs and the only way to change that value was to either set the language manually or delete the prefs.

Thanks,
Rani

Pages: [1] 2