- Home /
Question by
YagirX · Feb 06, 2019 at 02:01 PM ·
editoreditorwindoweditorguieditorguilayout
How to combine two buttons in one. Editor window
How create buttons like this in Editor window?
Comment
Best Answer
Answer by Hellium · Feb 06, 2019 at 02:38 PM
GUILayout.BeginHorizontal();
GUILayout.Button("Hub Editor", UnityEditor.EditorStyles.miniButtonLeft);
GUILayout.Button("Combat Editor", UnityEditor.EditorStyles.miniButtonRight);
GUILayout.EndHorizontal();
Your answer
Follow this Question
Related Questions
Custom Editor - Is there any way to detect whether the user is in Prefab editing mode? 1 Answer
Weird action in Unity editor when pressing the "E" key? 1 Answer
Fix editor TextField cursor alignment 1 Answer
why I Cant Add Multiple Objects to the "Object Field" in Editor Window? 3 Answers
Small GUILayout button 1 Answer