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

Pages: [1]
1
NGUI 3 Support / Re: UITexture Question
« on: June 27, 2014, 08:03:59 AM »
Scene editor? Game editor? Not sure what you mean. There is a scene view and a game view, is that what you're talking about? Game view just sees what your camera sees. Scene view sees everything. Not sure how this relates to your original question.

Yes, I mean the game view and scene view. I used the assetbundle to load the NGUI root that makes the UITexture looks different in two views. When I use the UI root directly in project, that makes UITexture work well.
I know it sounds odd, but I don't know how to find the reason.

 

2
NGUI 3 Support / Re: UITexture Question
« on: June 24, 2014, 09:00:21 AM »
UV animation on the material won't affect the draw calls created by NGUI. NGUI doesn't use your material. It makes a copy of it instead. If you want to modify it, modify widget.drawCall.dynamicMaterial.

Thanks ArenMook.  But the issue that is the UITexture works well in Scene Editor not in Game Editor. And it works well when create a new UI root and a new UITexture in runtime.

Would you please give me some tints to solve it?

Thanks a lot lot lot!!!!!!!!!

3
NGUI 3 Support / Re: UITexture Question
« on: June 23, 2014, 08:52:24 PM »
BTW,  if I created a new scene, a new UI root, a new UITexture with texture and material, everything works well in Scene Editor and Game Editor.

So, in my point of view, maybe something conflicted in my game, however I have no points how to find the conflicts.

Maybe someone could give me some hints at least?

THX!!

4
NGUI 3 Support / Re: UITexture Question
« on: June 23, 2014, 08:44:17 PM »
Don't set both material and texture - set one of the other. If you have a custom material with texture animation in it, then you only need to set that. The material references the texture in that case.

Try doing that and report back if that fixes it. Otherwise, there might be some other stuff going on.

Not works.....  It seems, the UV animation will be only rendered after the game is running.

I used the assetbundle to load the UI root in game, but it's very strange the material content only shows in Scene Editor.  It puzzled me totally one day!

Please, somebody helps me!!!  SOS

THX

5
NGUI 3 Support / UITexture Question
« on: June 23, 2014, 09:28:18 AM »
Hello,

My question is about the UITexture display issue.

When I use the UITexture, and set up the Texture and Material in the project. Then game is run, I found the animation is only shown in the "Scene" editor, only one static picture in the "game" editor.

The attachment 1 is the uv animation in "Scene", that shows perfectly, attchment 2 is the game result, opps..... only one frame is shown.

Furthermore, after running the game, I delete the UI root, create a new UI root, create a new UITetxure, set up all things, the animation shows perfectly in game.

So my question is how makes the UITexture shows perfectly in game?

Thanks very very much!!!!!

6
NGUI 3 Support / Re: NGUI doesn't respond any mouse hover and click
« on: May 19, 2014, 01:05:50 AM »
Thanks!!!

7
NGUI 3 Support / NGUI doesn't respond any mouse hover and click
« on: May 18, 2014, 10:15:07 PM »
I did nothing and tried to re import the NGUI, however it doesnt respond to any hover and click, even with example scene

i can really have no idea of it, any one can help me out? i've tried search this issue around but there're no just a straight problem like this.

I used the version 3.5.1 and 3.5.9, both not works.....

please help me out, thank you!

Pages: [1]