Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by KnightRiderGuy · Nov 30, 2015 at 01:51 PM · c#animationui imagescene-switchingpersistence

Remember UI setting from Previous Scene When Return to Scene

Hierachy and inspector setupSorry the tile of that sounded a bit confusing. But lets say I have two different scenes Scene 1 Scene 2

In scene 1 I have a UI that has a button and animation playing.

I exit scene 1 to scene 2 and then return to scene 1, now naturally the button and animation states have returned to their original staring state.

How do I make it so that if I leave scene 1 to scene 2 and then return to scene 1 that my button state and animation will be playing and my button is pressed or active?

I should also mention that in my 2nd scene there is a different canvas with a different UI on it so all of my scenes have different canvases with different UI images on them.

I have points to give away to anyone who can knock this one out of the park for me as it has been a pain in the backside for better part of a year now on this project.

screen-shot-2015-11-30-at-94722-am.png (232.5 kB)
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 KnightRiderGuy · Nov 30, 2015 at 06:20 PM 0
Share

O$$anonymous$$ this is weird, I find that if I add a 2nd canvas and name it SideScreens and then put my UI elements on that canvas with a Don't Destroy on it, what happens is that the information is carried across scene changes which for these slide in screens is O$$anonymous$$ because they are off to the side and out of view of the main canvas. I'll try to do a screen capture.

BUT when I come back into my main scene that has the button on the main canvas I can't seem to call the side screens to slide in, it like the original button on canvas 1 looses its connection or something.... most annoying and frustrating???

UI Screen Capture

screen-shot-2015-11-30-at-121815-pm-copy.jpg (292.2 kB)

0 Replies

· Add your reply
  • Sort: 

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

48 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Remember If Animation Was On/Off On Scene Switching 0 Answers

Unfortunately, (GameName) has stopped (report ,ok) 0 Answers

Animation Looping Incorrectly 0 Answers

Animation play not working C# 0 Answers

UnityEngine.UI and UnityEngine.EventSystem do not work, what do I do? 1 Answer


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