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
6
Question by JohnRossitter · Mar 19, 2014 at 05:33 PM · editorwindowtabs

How do I add multiple "tabs" to an editorwindow

Hi Unity, alt text I can't seem to find any documentation on how to accomplish this within a single editor window. I'm looking to find a way to partition up my Editor Window into tabs like the Lightmapping and Occlusion Culling windows do.

See Image.

Thanks

tabs.png (27.2 kB)
Comment
Add comment · Show 2
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 JohnRossitter · Apr 10, 2014 at 09:48 PM 0
Share

Bump? Anyone? Hello?

avatar image Vandarthul · Apr 10, 2014 at 11:58 PM 0
Share

Try to exa$$anonymous$$e this : Custom Editor Window - Unity Scripting Reference

3 Replies

· Add your reply
  • Sort: 
avatar image
23

Answer by quansatthu · Dec 05, 2014 at 08:31 AM

Hello,

You can use EditorGUILayout.Toolbar. Like this:

 tab = GUILayout.Toolbar (tab, new string[] {"Object", "Bake", "Layers"});
 switch (tab) {
 ...
 }
Comment
Add comment · 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
0

Answer by TobiasJohansson · Apr 11, 2014 at 12:06 AM

Hello,

Not sure you can to that as tabs in the editor. It is possible to move some windows and create tabs, like the ones above the buttons. However, not sure you can do tabs like that without coding, or even with code actually.

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 JohnRossitter · Apr 12, 2014 at 12:53 AM 0
Share

Well the obvious part is to use GUI.Toolbar to get the navigation buttons, but manually moving a whole bunch of controls around is just silly. There needs to be a better grouping mechanism in Unity.

avatar image
0

Answer by himanshugupta159 · Sep 30, 2019 at 11:52 AM

Hey i have written a blog related to:How to get started with Editor Window. In this first blog you can find how to create toolbars in your custom editor Window. https://unfragilecoding.blogspot.com/2019/09/unity-editor-window.html

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

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

24 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

Related Questions

how to create tab in your one window 0 Answers

How to tell if a docked EditorWindow got focus? 1 Answer

Change script from EditorWindow 0 Answers

Show camera view in an editor window 1 Answer

Change SceneViewState via code (Fog, Skybox, Animated Materials, Image effects, etc)? 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