public static void Init(Rect pos) { TextureImporterSetting.show = true; if (window != null) { window.Show(); return; } else { window = ( kBinaryBitmapImporter )EditorWindow.GetWindow(typeof(kBinaryBitmapImporter), false, "Texture Importer Settings"); window.position = new Rect(pos.x + 100, pos.y + 100, 210, 200); window.Show(); } }
public static void Init( Rect pos ) { TextureImporterSetting.show = true; if(window != null ) { window.Show(); return; }else{ window =( kBinaryBitmapImporter )EditorWindow.GetWindow(typeof( kBinaryBitmapImporter ), false, "Texture Importer Settings"); window.position = new Rect(pos.x + 100, pos.y + 100, 210, 200); window.Show(); } }
private void Closer() { window.Close(); window = null; }
private void Closer() { window.Close(); window = null; }