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 allan36j · Jul 29, 2016 at 09:46 PM · prefabassetasset storeeditor extensionlevel editor

Level Editor in Unity as Editor Extension

Is there some Editor Extension out there, which lets you stack boxes on top of each other or adding prefabs to the scene?
Just wanted to ask you guys real quick.

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 Firedan1176 · Jul 29, 2016 at 11:08 PM

These are known as modular workflows. Check out the asset store for tools, as well as packs, that can be purchased, even some for free. In the Unity preferences, you can also change the Snap settings, so that holding Shift will determine at what interval your GameObjects will 'snap' to when moving with the Move tool.

These kinds of assets are common with Medieval and Sci-Fi style games.

Is this what you're looking for, or are you wanting modular control in game?

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 allan36j · Jul 30, 2016 at 04:22 PM 0
Share

@Firedan1176 No I don't want it in realtime. You understood me right.
I couldn't find a modular workflow in the assetstore or in google.
Could you point me into the right direction please?

avatar image Bunny83 allan36j · Jul 30, 2016 at 04:28 PM 0
Share

It's not really clear what you actually need because "adding prefabs to the scene" can be done by simply dragging them in and "stack boxes on top of each other" can be easily done by using vertex snapping (just press and hold "v") which allows you to snap an objects vertex to another one. So what specifically do you miss in Unity / do you want improved and which way.

avatar image Firedan1176 allan36j · Jul 30, 2016 at 07:18 PM 0
Share

I certainly know there are modular asset packs with models out there, but I'm not sure if there are tools that can be customized to your own assets. You wouldn't even have to extend the editor, you could use OnDrawGizmos to create Gizmos where you would like to "attach" modular pieces, and by clicking on it (I don't remember the best way to do this, I've gotten it to work though), you could simply instantiate a GameObject/prefab there. You would also need a script attached to your prefabs that define "anchor points", as well as orientations, etc.

If you're interested in this "clicking" idea, I believe there is a way to do this, but I don't think you can do it with OnDrawGizmos. However, this guy proved otherwise. You could also try to make invisible cubes with Colliders that are generated from a Singleton OnDrawGizmos, each of which draws a single Gizmo on top of itself. Therefore, if you click on a Gizmo, it will select the GameObject that it's attached to, which is directly on top of it.

Let me know if this is the path you'd like to take. There are some other ideas using editor extensions, but that'd be more of a hassle, in my opinion.

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

61 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 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

Editor : dynamic asset creation and prefabs, best practice ? 1 Answer

Resize a 3D prefab without affecting scale 2 Answers

Can I reuse editor extension assets for multiple projects/games? (Accelerator Pack) 1 Answer

Dressing Room 0 Answers

Custom input from Input Manager into Asset Store package? 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