Hello Guest

Author Topic: Static + Dynamic Display for Menu Options  (Read 4220 times)

Ezro

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Static + Dynamic Display for Menu Options
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Static + Dynamic Display for Menu Options
« Reply #1 on: July 10, 2013, 03:29:30 pm »
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.

Ezro

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Static + Dynamic Display for Menu Options
« Reply #2 on: July 10, 2013, 03:35:28 pm »
Thanks, Unikron.

I'll check that out.

Regards,
Ezro