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();
        }
    }
Example #2
0
    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;
 }
Example #4
0
 private void Closer()
 {
     window.Close();
     window = null;
 }