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

Pages: [1]
1
Ok thank you,

I changed my root to a Root 3d, and that seems to work.
Now i have an issue where none of my buttons are clickable. I copied the panels and buttons from the root2d panel. Is there something that I am missing? Maybe i just have to rebuild all of the UI.

2
NGUI 3 Support / 2D UiRoot, not scaling to match the 3D Main Camera Help
« on: December 20, 2016, 10:20:13 AM »
Hello Everyone,
I have an issue that I am stuck on. I have 2 cameras in my scene, a normal 3D camera for displaying 3d objects and then a UIRoot component with its own camera, for handling UI stuff. The issue that I am having is that I cannot get the UIRoot to scale to meet the size of the 3D Camera.

Looking through the forums I have found this advice:
Check your layers, clear flags and camera's depth.
UI camera should only see the UI layer, while your game camera should not see the UI layer.
Your UI camera should have a higher depth than your game camera.
Your UI camera should have its clear flags set to "Depth".

I have done all of these and still the UIRoot Camera will not match the size of the 3D camera. The Ui root is in the center but not scaled to the outside corners.

Any idea on how to fix this issue? I really love using Ngui, its the last problem that I am having the most trouble with.

Thank you.

3
NGUI 3 Support / Re: Grid multiselect
« on: November 30, 2016, 07:49:21 PM »
You are correct, it is not different. Just started using toggles today.
I see that you can iterate through the toggle list to get all toggles. Is there a way to limit them for example if I want you to only be able to select 5 toggles max out of a list of 10. Do i need a toggle group to stop me from toggling the 6th item

4
NGUI 3 Support / Grid multiselect
« on: November 29, 2016, 11:17:49 PM »
Hello, quick question,

Is there a way to have a grid with multiselect for the items within it? Is there preexisting functionality or do i have to build a script for it from scratch.?

My idea is to have like a 20 item grid, and then allow the user to select up to 5 at a time and then i will do something with that list.

5
NGUI 3 Support / Re: Tab Control
« on: November 19, 2016, 01:11:25 PM »
sorry, i found the example in the tutorials scenes.

6
NGUI 3 Support / Tab Control
« on: November 19, 2016, 12:38:15 PM »
Hello,

I am sorry if the answer to this is posted somewhere, but i couldn't find it. Is there a way to make a tab control in Ngui? like each tab has a page where things can be displayed?

I found this script:https://gist.github.com/sfszh/5908899
but i am not sure how to use it with Ngui.

Can anyone give me a hand with making a tab control?

7
NGUI 3 Support / Re: UIWrapContent - Multiple Lines?
« on: November 15, 2016, 11:25:30 PM »
Aren, sorry to jump in here, but could i get some clarification on that? I see that in example 14 the wrap content wraps the circularly, but im confused on how to get an item list that goes:
UIWrapContent
-- Item 1   -- Item 2   -- Item 3
-- Item 4   -- Item 5   -- Item 6
-- Item 7   -- Item 8   -- Item 9

My goal is to write a script that will loop through images and assign them to each item, then allow the user to scroll down the list. Any help would be very welcomed.

Pages: [1]