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 /
avatar image
0
Question by KnightRiderGuy · Feb 01, 2015 at 06:10 PM · animationui imageanimationclipimage-effects

Animated UI Image Sequence

I have tried importing in an image sequence to use as an animation for a screen just behind my main GUI, it seems like I can do it frame by painful frame and call to that animation with a button or code but is there an easier way to get my animations frames into an animated image sequence on a single UI image?

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Derek-Wong · Feb 01, 2015 at 06:22 PM

I assume your image sequence is a sprite sheet (lets say, 3x2, 6 frames), and I did used a script to change them in sequence before. However if you don't want to do it by animation or code.....well maybe you can use a particle system (sorry that's all I can think of :( ).

I know this is not a really good way to do it, but just for some ideas...

  1. set your image to be a 2d sprite

  2. create a material and use it as texture

  3. use that material in a particle system

  4. enable Texture Sheet Animation, set suitable x and y (3, 2 for examples) and the frame over time by the graph

  5. choose suitable start size, life time and duration, set the speed to 0

  6. disable the shape...

Well it should be doing what you want to do, just it is a particle system lol loop it if you want

Comment
Add comment · Show 3 · Share
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 KnightRiderGuy · Feb 01, 2015 at 06:26 PM 0
Share

Nope, my images are separate frames or images loaded in as a numbered sequence, as I say I can do a frame by painful frame animation but it seems to me that there should be a more simple way to do this?

avatar image Derek-Wong · Feb 01, 2015 at 06:32 PM 0
Share

Then I would suggest you to pack them into a sprite sheet first, for various goods. If you really really don't want to do that, make an public array in a script and pull them one by one in the editor, and do the effect by a script, that's the easiest way to do I think.

avatar image KnightRiderGuy · Feb 01, 2015 at 06:40 PM 0
Share

Seemed in an experiment that when I drag all of my images in the sequence onto an empty game object it asks me to create an animation only where this animation gets stored and how it plays back I have no idea. But if I do the animations frame by frame I can do it, just with a 60 frame animation it can get rather tedious that way. BTW each animation frame is about 512 X 400 so a 60 frame sprite sheet would be a little insane I would think?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

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

Related Questions

Checking animation playing in ieunmerator. Is there a better way to do this? 1 Answer

Unity Animator cant play the same animation twice. 2 Answers

Character won't run straight 1 Answer

Single Animation file for two different objects! HELP! 1 Answer

How to get reference to a specific Animation Clip in Animator. 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