2D Toolkit Forum
2D Toolkit => Support => Topic started by: Ezro on July 10, 2013, 03:22:04 pm
-
Hi all,
I'm working on my menu system, and I ran into a small bump. I'm looking to accomplish the following:
The left half of the screen will always be the same.
Depending on what you select on the right side, different menu options will be loaded on the right side.
I'm thinking that I can have tracking for whichever screen is currently active, and then switch between other screens by disabling & hide the functionality of menu options which aren't currently active.
Does 2D Toolkit come with this sort of functionality built-in, or would I have to code my own functions to handle this?
Regards,
Ezro
-
It doesn't have anything like this "built in" but all you need really is to organize your controls hierarchically and sensibly in such a way that you can turn pages on and off at will using gameObject.Setactive(...) and maybe later some tweening animation. That's what we do and it works really well.
-
Thanks, Unikron.
I'll check that out.
Regards,
Ezro