Created
September 1, 2013 03:05
-
-
Save masa795/6402081 to your computer and use it in GitHub Desktop.
EditorWindowに好きなアイコンを付ける
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
public class IconTest_002 : EditorWindow { | |
[MenuItem("window icon/icon2")] | |
static void Init() | |
{ | |
EditorWindow.GetWindow<IconTest_002>(false, "Firefox"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
public class IconTest_003_2 : EditorWindow { | |
[MenuItem("window icon/icon3 2")] | |
static void Init() | |
{ | |
EditorWindow.GetWindow<IconTest_003_2>(false, "Windows 1"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment