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

Pages: [1]
1
NGUI 3 Support / Re: Depth and distance to camera
« on: October 06, 2016, 08:03:11 AM »
Hi ArenMook,
thx a lot for your reply. I already made a script but with over 200 objects to control, things get very laggy. Even with only updating every 10th frame when the camera moves a certain distance. Maybe i should switch to Unity build-in 3d texts? But because nGui is heavily implemented in the project i will try to optimize the depth update first.

Cheers

2
NGUI 3 Support / Depth and distance to camera
« on: October 04, 2016, 07:42:06 AM »
hi there,

i have a 3d map with a lot of Ngui-Labels and Ngui-Icons in 3d space. All labels have a depth of 1 and the icons  a depth of 0. Every element is looking towards a moving perspective camera. Now i'm trying to set the the render order by distance to camera while the labels should be rendered always over the icons. Are there ngui/panel/widgets settings to archive this or do i have to write script that adjusts the depth during runtime?

Cheers

3
NGUI 3 Support / Re: Scaling 3-sliced sprite
« on: August 19, 2016, 06:27:32 AM »
Thx, i made a solution where i took one square and two circle sprites and arrange/scale them automatically.

4
NGUI 3 Support / Scaling 3-sliced sprite
« on: August 11, 2016, 04:01:44 AM »
I wonder if theres a way to scale the height of a 3 sliced sprite without losing the proportion of the borders?



Scaling witdh works perfectly. I don't want to touch the transform scale.

Pages: [1]