Skip to content

Instantly share code, notes, and snippets.

@masa795
Created September 1, 2013 03:05
Show Gist options
  • Save masa795/6402081 to your computer and use it in GitHub Desktop.
Save masa795/6402081 to your computer and use it in GitHub Desktop.
EditorWindowに好きなアイコンを付ける
using UnityEngine;
using UnityEditor;
public class IconTest_002 : EditorWindow {
[MenuItem("window icon/icon2")]
static void Init()
{
EditorWindow.GetWindow<IconTest_002>(false, "Firefox");
}
}
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