static void Init() { window = (MKGlowSystemHelpWindow)EditorWindow.GetWindow<MKGlowSystemHelpWindow>("MKGlow Help"); window.minSize = new Vector2(664, 325); window.maxSize = new Vector2(664, 325); /* var filePath = Application.dataPath + "/_MK/_MKGlowSystem/_Internal/Editor/_Image/MKGlowSystemHelpTitle.png"; if (System.IO.File.Exists(filePath)) { var bytes = System.IO.File.ReadAllBytes(filePath); if (m_SettingsLabel == null) { m_SettingsLabel = new Texture2D(128, 128); m_SettingsLabel.LoadImage(bytes); } }*/ window.Show(); }
static void Init() { window = (MKGlowSystemHelpWindow)EditorWindow.GetWindow <MKGlowSystemHelpWindow>("MKGlow Help"); window.minSize = new Vector2(664, 325); window.maxSize = new Vector2(664, 325); /* * var filePath = Application.dataPath + "/_MK/_MKGlowSystem/_Internal/Editor/_Image/MKGlowSystemHelpTitle.png"; * if (System.IO.File.Exists(filePath)) * { * var bytes = System.IO.File.ReadAllBytes(filePath); * if (m_SettingsLabel == null) * { * m_SettingsLabel = new Texture2D(128, 128); * m_SettingsLabel.LoadImage(bytes); * } * }*/ window.Show(); }