Author Topic: How to set up my menu  (Read 3078 times)

apple741

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
How to set up my menu
« on: June 23, 2012, 01:07:30 PM »
Hi,

I've been talking to Michael  and he mentioned I should try to ask my question here. I'm looking for some advice on how setup my menu screens which have around 20 pages (items, weapons , and maps) that the user can access at any time. The idea is that they use a scroll view to change pages.

My question is, how can I set things up so there is a maximum of 3 (and not all 20) images in memory at any one time so I don't use too much resources. So something like this:

https://dl.dropbox.com/u/8176796/Screen_1.png

I also want the user to be able to allow two images on the screen at once ( sort of like the user is about to go to the next image but haven't fully scrolled to it yet):

https://dl.dropbox.com/u/8176796/Screen_2.png

Each page will also need various buttons associated with it.

So what would be the recommended way to set this up?

Thanks for your time.

joreldraw

  • Guest
Re: How to set up my menu
« Reply #1 on: June 25, 2012, 08:46:12 AM »
Your trying to make a image gallery slider?

Try with http://unity3d.com/support/documentation/ScriptReference/Resources.Load.html to load each image when you need from your resource folder.