# Custom Editor Window

**URL:** https://discussions.unity.com/t/custom-editor-window/78701
**Category:** Questions & Answers
**Created:** [August 12, 2013, 5:10pm UTC](https://discussions.unity.com/t/custom-editor-window/78701 "2013-08-12T17:10:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lancer](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/lancer/32/258016_2.png) [@lancer](https://discussions.unity.com/u/lancer)
#### Post date: [August 12, 2013, 5:10pm UTC](https://discussions.unity.com/t/custom-editor-window/78701/1 "2013-08-12T17:10:20Z")

</div>

I’m looking for a tutorial on making a custom editor window for my Unity Add-on I’m making. I looked at [Unity - Scripting API: Editor.CreateEditor](http://docs.unity3d.com/Documentation/ScriptReference/Editor.CreateEditor.html) but don’t know what to put in as arguments and how to add content to the widow.

---

<div class="post-metadata">

### Author: ![Sisso](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sisso](https://discussions.unity.com/u/Sisso)
#### Post date: [August 12, 2013, 6:32pm UTC](https://discussions.unity.com/t/custom-editor-window/78701/2 "2013-08-12T18:32:33Z")

</div>

I don’t know how to use CreatEditor. But I use this this template for create editor windows.

```
class AdminEditorWindow extends EditorWindow {
	@MenuItem ("Game/Admin")
    static function Init () {
        var window = EditorWindow.GetWindow(AdminEditorWindow);
    	window.text = "nice";    
    }
    
    var text: String = "what?";
    
    function OnGUI () {
    	GUILayout.Label(text);
    }
}

```

---

<div class="post-metadata">

### Author: ![himanshugupta159](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@himanshugupta159](https://discussions.unity.com/u/himanshugupta159)
#### Post date: [September 30, 2019, 11:50am UTC](https://discussions.unity.com/t/custom-editor-window/78701/3 "2019-09-30T11:50:14Z")

</div>

Hey, you can check out the link below, it is a blog written by me related to “How to get started with editor window”.

> **[Unity Editor Window](https://unfragilecoding.blogspot.com/2019/09/unity-editor-window.html)**
>
> Editor Window (Part 1) In unity, Editor windows are windows which are created by developers to be used by developers in Editor, i...
