static void Init() { // Get existing open window or if none, make a new one: BRGEditor window = (BRGEditor)EditorWindow.GetWindow(typeof(BRGEditor)); window.Show(); texture_logo = Resources.Load("Editor/logo_lasalle") as Texture2D; UpdateResources(); DestroyImmediate(rootEditor); }
static void Init() { // Get existing open window or if none, make a new one: BRGEditor window = (BRGEditor)EditorWindow.GetWindow(typeof(BRGEditor)); window.Show(); //texture_logo = Resources.Load("Editor/logo_lasalle") as Texture2D; inEditionMode = false; UpdateResources(); }