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 /
avatar image
0
Question by SharpChedda · Sep 01, 2016 at 05:47 AM · spritesobjectscombine

Combining 3d objects to create one object

So basically I have multiple objects(like a tree, background, plants etc.) that I want to combine and save as one asset. I have figured out how to combine all of them, but I would like to be able to name and save that specific combination of objects as one object. Any insight to this would be very helpful and I feel would be common knowledge. I just have not come up with any luck with my unity forum or google searches. Thanks for any help in advance as it is highly appreciated!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by tsnyder321 · Sep 01, 2016 at 03:10 PM

@SharpChedda,

It sounds to me like you may want to take advantage of using prefabs.

https://docs.unity3d.com/Manual/Prefabs.html

So you'd parent all your objects to a single, top level gameobject, and then make that top level object your prefab. You can now reuse all of those object over, and just get the prefab and disable it to disable all its children.

GameObject.Find ("prefab_name").SetActive (true/false); //C# statement

Comment
Add comment · Show 2 · 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 tsnyder321 · Sep 01, 2016 at 01:42 PM 0
Share

Oh, and just an FYI you do not NEED to use a prefab for this, but it is good practice as I understand it to use prefabs. You could do the same technique, skipping the prefab part, and just use GameObject.Find () on the top level gameobject's name.

avatar image SharpChedda · Sep 01, 2016 at 10:15 PM 0
Share

This is exactly what I needed, Thank you for the help!

avatar image
1

Answer by sparkzbarca · Sep 01, 2016 at 06:24 AM

I mean the easiest thing as far as just being an object is to parent the parts together. Then you can have them as a thing.

As far as combining them into like a true single item I guess you could just open all of them together in one scene in like blender and save it as a single thing.

I'm not sure though why you want to have such a disparate collection of objects together as one object but if it makes sense for you just using parenting to to make the background the parent of the trees and bushes and such.

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 SharpChedda · Sep 01, 2016 at 09:00 AM 0
Share

What I want to do end term is be able to call those groups of objects by only calling one item, and then have a new set of group objects be called and have the first set disappear. Would this be possible by using a parent object? Or is there another method I could do?

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

6 People are following this question.

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

Related Questions

How to combine two custom objects? 2 Answers

Best way to optimize scene with multiple instances of a destroyable object 1 Answer

combining littles sprites into one big sprite ? 1 Answer

Issue in merging two different kind of objects (image attached) 1 Answer

How to combine sprites and make 1 collider for them 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