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 Joe-the-programmer · Jun 21, 2015 at 10:56 AM · prefabscene

How do i edit all levels at once? (prefab problem)

So i have a prefab called 'game mechanics'.

enter image description here

It contains all the stuff thats the same for every level and the UI. The only other stuff in each level is the terrain, lighting, eventsystem and various obsticles.

What i want to be able to do is to create levels and just drop in this prefab. I then have to change an animation, move a few things around and edit a few values inside it that are level specific.

So that all works fine at the moment, but i also want to be able to edit the prebab in a scene and apply the changes to every scene. What I do is I drag and drop 'game mechanics' back on to the prefab to change all the scenes. The problem is that is that all the levels are reset EXACTLY to that one which means i have to go back and change the values and move stuff back to the right position on every level each time i make a change.

So is there a way to do this where it dosent reset EVERYTHING?

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
Best Answer

Answer by Xarbrough · Jun 22, 2015 at 12:57 AM

No, prefabs and instance management are more or less exclusive. Use a prefab if it remains the same at every instance. If you need to change a few things here and there you can create a prefab for every scene, like GameMechanics1, GameMechanics2 and so on. This way you can multi-select those prefabs in the project folder an take advantage of the inspectors power to multi-edit individual values.

Another note: A prefab this big and nested is generally calling for problems. If the above solution is getting out of hand you simple might be putting too much into one object. Better split it up into multiple sub-prefabs, but again, no instance changing, create individual prefabs for every different version so you can multi-edit via the project panel.

Comment
Add comment · Show 1 · 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 Rhylvin2015 · Jun 22, 2015 at 01:17 AM 0
Share

Duplication of the Game$$anonymous$$achanic is what I think the answer is. it will always reset to that one because you only have one.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Passing array of prefabs to next scene 1 Answer

dynamic prefabs in streamed scene asset bundle 1 Answer

Git and .scene/.prefab 2 Answers

Storing scene-specific variables? 1 Answer

How can I add visual effects on the OVRPlayerController? 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