Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Mar 25, 2014 at 08:56 PM by Fattie for the following reason:

Duplicate Question

This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by ftp · Dec 28, 2012 at 08:08 AM · images

How do I "page" multiple images across a surface?

When a player “touches” (defined below), a surface, I want a set of images to begin paging across that surface and continue paging until the player “touches” that surface again. For example, a player would “touch” the “Weapons selection screen” on the bridge of the Starship. Then images of weapons would start paging across the screen. When the player saw the weapon they wanted to use, they would touch the screen again, the paging would stop and the “Weapons selection screen” would be filled with an image of that weapon. If the player then decided they didn’t like that weapon, they could “touch” the screen and start over. “Touch” may vary by platform, etc. so that on iOS it may be the player touching the screen to select the “Weapons selection screen” and on xBox, it may be the player directing their avatar to touch the “Weapons selection screen” or maybe the player clicks on the “Weapons selection screen”. Ideally, the weapon images would be individually accessible so that page order could be specified and/or changed by the player in real time. So the player could ask to see them page by alphabetically, or in some other order: cost, deadliness, nastiness, etc. And specify the paging speed. And have sound, clicking, etc., in time with the paging speed. What’s the best way to do that? Thanks.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Dec 28, 2012 at 09:46 AM 0
Share

I suggest, very simply have a number of "simple planes" with an image on each one.

Just move the whole gameObject, when touched.

You'll have to learn about raycasting - that's about all you'll need here!

also go to unityGE$$anonymous$$S.com for many excellent beginner tutorials on this and other topics

If (for some reason) you literally want to move a "texture" on a gameObject, you simply use the "offset" feature of the texture.

Simply put any object in a scene in your editor, and look at the INSPECTOR for the object. You will see the "offset" n the texture and you can literally scroll it easily right there (or achieve the same in code)

So that's how to get started

FYI personally I would just use "2dToolkit" or any similar tool, and do it as a trivial 2D sprite. That's just what I persnally do for "scrolling selector" type things. Hope it helps!

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problems With NGUI on MAC 1 Answer

Need help finding why my onGUI() sliding image puzzle has errors! 1 Answer

load images into an array runtime. 0 Answers

Compine 4 sprites into one big image 0 Answers

Panel UI Organisation 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges