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

Pages: 1 [2] 3 4 5
16
NGUI 3 Support / Re: NGUI support for rage splines
« on: September 15, 2014, 01:49:35 PM »
you can use the RenderQueueModifier search on forum :)

17
NGUI 3 Support / Re: Upgraded to 3.7.2 - Problem with UIButton
« on: September 13, 2014, 04:59:45 PM »
Same problem here!

Really running out of ideas of what is happening!

18
NGUI 3 Support / Re: A changeable mask
« on: September 12, 2014, 09:36:26 AM »
I guess do you want to do something like the stecil here right:

https://www.youtube.com/watch?v=5wcODp8Sh8o

have not a single clue of how do that with NGUI :P

19
NGUI 3 Support / Re: Panel not rendering after animation
« on: September 09, 2014, 07:47:49 AM »
Hey @ArenaMook let me get this straight.

You should not animate a alpha from a panel? Never?!  :o :o :o

Sorry about this, but I've never read this before! hahah If I use one Widget as a root of all other objects, and change this alpha instead, this will work fine right?

20
NGUI 3 Support / Re: Animations modifying images (spriteName)
« on: September 08, 2014, 07:49:52 AM »
you need to use the UI2DSpriteAnimation and set your desired frames on the array here:


21
NGUI 3 Support / Re: Panel not rendering after animation
« on: September 08, 2014, 07:45:03 AM »
I have this problem here too, since this last 3.7.1 update.

Lets hope the new update come out soon, and fix this issue.

22
NGUI 3 Support / Re: Scroll view with items clickable
« on: August 28, 2014, 11:34:48 AM »
you need to put UIDragScrollView in each buttons, and make sure your buttons use the OnClick method.

23
NGUI 3 Support / Re: Mobile keyboard questions
« on: August 28, 2014, 11:25:47 AM »
Probably you will need to get this from internet, and put as const on your code. I don't know if exist a way of getting that from Unity

24
NGUI 3 Support / Re: Mobile keyboard questions
« on: August 28, 2014, 06:57:17 AM »
You must handle this things by yourself, something like:

Detect when some Input Label, have focus, and then, move everything on your screen up.

I don't thing there is a automatically way of doing that.

25
So the title is pretty self explanatory, but is something like this:"


  1. Game Object (Controller)
  2.       - Content Game Object
  3.             - Scroll View (With Clip)
  4.                   - GRID
  5.                          - Prefabs
  6.                          - Prefabs
  7.                          - Prefabs
  8.                          - Prefabs
  9.  

So the Content Game Object, start deactivated and offscreen like position x are setted to Screen.width;
When they will become active, I Activate the Content Game Object using NGUITools.SetActive(Content Game Object,true); and them populate the GRID with my prefabs using the exactly same code NGUITools.AddChild() use, but on my own Method, because they are poolable objects. When everything is on Position, I tween the Content Game Object to the Vector3.zero position, but all childrens are invisible, but if I do anything with the childrens in Editor, like Move 1 pixel to side, Press MakePixelPerfect anything they show up properly.


Did you guys know if I'm doing something wrong?

26
Hello guys!

I've just update NGUI to the lastest (3.7.0) version, and in one test I've noticed something, and I want to know if this is right:

My Hierarchy is something like this:
This is all under the UI Layer.
 - UI Panel
    - UI Panel /  Scrollview
        - UI Grid
             - 2D Sprite Element
             - 2D Sprite Element
             - 2D Sprite Element
             - 2D Sprite Element

But I can't drag this the itens, because the camera never reach this, without put a rigid body on each one.
This does not sound right.

My camera setings are: 3D Worls, All event masks. Culling Mask only UI.


27
NGUI 3 Support / Re: Scrolling on a curved shape
« on: August 21, 2014, 08:42:18 AM »
Sure is, but not with anything NGUI have already, you must write your own controller.

28
NGUI 3 Support / Re: Moving Scrollview generate a bug with fonts
« on: July 18, 2014, 12:14:26 PM »
I discovered what is going on.

Enable the Gameobject before animation, and disable after the hide, are causing this issue.

29
NGUI 3 Support / Moving Scrollview generate a bug with fonts [Solved]
« on: July 18, 2014, 09:18:51 AM »
So, I'm facing a bug right now that simple don't make any sense to me.

Here is the Hierarchy:


And I dynamically move 2 objects, the Content under Sidebar and the Menu game objects.
Just tweening to appear on screen and move back to the hiding place.

When the animation to open occurs the font stays offposition:


But in the scene view, you can see the bounding box of the object is in the right place:


But if I move the object by dragging this in the scene view, everything works perfect:

30
NGUI 3 Support / Only enable the move handle
« on: May 23, 2014, 07:53:47 AM »
There is some way of achieving that? I don't use the rotate and the stretch as much as moving around, maybe if to do this others 2 with some key binding as a option was nice.

Pages: 1 [2] 3 4 5