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

Pages: [1] 2 3
1
uGUI support use animation system with Anchor x y z and Anchor position so we can anim widgets without init 2 empty anchor widgets (start, end). It's good if NGUI can do this too :)

2
Yup I know that way but my task is not easy like that. I have to use animation system with keyframe to make animate so my artist team can join and work together with us. Definitely tween system can't work like aniamtion system. Anyway else ?

3
I construct my scene like this with UI Root setting Contrained, just only ContainerBottom (anchor center bottom) and ContainerTop (anchor center top)



Example with my ContainerBottom, I have a clip anim move all children of it from bottom to left but seem to be that not correct in many differen resolution

Init state correct with all resolution


When I anim this to left

In 4:3 mode this works fine (image below is exactly what I want)


But in 3:2 mode it's wrong position

4
Thank you for quick support. Can you make a simple example ? I cann't find any example in your plugin about this issue. Because I'm newbie and many people in here same too so it's very useful for us.

5
Hi ArenMook,

May you show how to anim or tween anchor object ? I try tweening object, it work (just anchor Enable) but the position is difference in another resolutions.

How to do like this ?

http://ge-team.com/pages/unity-3d/gui-animator-for-ngui/

Thank.

6
NGUI 3 Support / Re: why,popuplist postion error
« on: November 12, 2014, 09:28:21 PM »
This error happen to me too, popuplist wrong position, wrong pivot and wrong size too. I just drag Popuplist from prefab tool and increase font size of label but you can see it below



UIRoot have panel, AnchorBottomRight just a widget empty, Notification is popuplist



NGUI 3.7.5, Unity 4.5

7
NGUI 3 Support / Re: how to create processbar rect round use ngui ?
« on: October 12, 2014, 01:00:49 PM »
I just find a solution for this. You can create a rect sprite with depth behide main sprite and use Tiled sprite mode to solve this :) (cheat solution not best)

8
NGUI 3 Support / Re: Panel doesn't clip a custom widget by demand
« on: October 06, 2014, 08:59:01 PM »
This image is fine, I can see it from my PC. My question is how to make panel not clip the child of item scroll view, just clip item scroll view not all of child. Or you have any idea for my situation please help :)

9
NGUI 3 Support / Re: NGUI Inspector so laggy
« on: October 06, 2014, 10:50:48 AM »
All of gameoject, only need attach NGUI script. NGUI from Menu button also lag too.

10
NGUI 3 Support / Panel doesn't clip a custom widget by demand
« on: October 06, 2014, 05:12:32 AM »
I have to implement a scroll view which have items can be pressed. When they are pressed, a widget child of Item scrollview will be appear but they are cutted by panel scroll view. I just wanna clip parent item scroll view not a widget child of item scroll view. May u help me ?

You can see more detail in this image: orange circle is item scroll view which have label as child, when I press orange cirlce, label will show but they are clipped by panel

11
NGUI 3 Support / NGUI Inspector so laggy
« on: October 06, 2014, 02:52:13 AM »
My NGUI inspector so laggy, I don't know what make it crazy. Another inspector of Unity is fine but only lag when i choose a gameobject that attach NGUI Scripts resource.
I use Unity 4.5.4 and NGUI 3.7.4

12
NGUI 3 Support / Custom size dropdown list of UIPopupList
« on: September 15, 2014, 11:02:27 AM »
Hi ArenMook again, i wanna custom size dropdown list of UIPopuplist and aligh right the label, i just add simple popup list from prefab tools and change sprite and fontsize from 20 to 40 but not work. You can see image below (used latest NGUI 3.7.2)


13
NGUI 3 Support / Re: Best way for raycast only UI
« on: September 10, 2014, 09:39:20 AM »
Ya I just copy a part code of UICamera in Raycast method and use it for dectected what object selected. May u think Raycast method in UICamera should be return a gameobject ?

14
NGUI 3 Support / Re: Best way for raycast only UI
« on: September 09, 2014, 11:47:10 AM »
Sorry for my bad English, I have 1 button and character 3d model behind it. Character will move if i touch on screen and it make me crazy when i touch button ngui and character move too. But i solved my problems by this code in UICamera

  1. Ray ray = UICamera.currentCamera.ScreenPointToRay(m_vTargetPos);
  2.             RaycastHit currentTouchorMouse;
  3.             Physics.Raycast(ray, out currentTouchorMouse, 1000);
  4.  
  5.                 if (currentTouchorMouse.collider.gameObject.layer == LayerMask.NameToLayer("UI"))
  6.                 {
  7.                     return;
  8.                 }

Thank you for reply me :)

15
NGUI 3 Support / Re: Best way for raycast only UI
« on: September 08, 2014, 03:44:51 AM »
Another issue is mobile plaform which not has hover state, my first solution totally fail :3

Pages: [1] 2 3