Ejemplo n.º 1
0
 private void OnDestroy()
 {
     if (parent.Ftypes != _types)
     {
         parent.Ftypes = _types;
         parent.Ftype  = 0;
     }
     else
     {
         parent.Ftype = _tempIndex;
     }
     _types = null;
     parent = null;
     window = null;
 }
Ejemplo n.º 2
0
    /**
     * Editor Window creation method
     * @param kBinaryBitmapSaver - The parent window class
     */
    public static void Init( kBinaryBitmapSaver _parent )
    {
        Rect pos 	= _parent.EditorRect;
        parent 		= _parent;

        if(window != null )
        {
            window.Show();
            return;

        }else{

            window =( kBinaryBitmapExtension )EditorWindow.GetWindow(typeof( kBinaryBitmapExtension ), false, "Manage Export Extensions");
            window.position = new Rect(pos.x + 150, pos.y + 20, 250, 300);
            window.wantsMouseMove = true;
            window.Show();
        }
    }
Ejemplo n.º 3
0
    /**
     * Editor Window creation method
     * @param kBinaryBitmapSaver - The parent window class
     */
    public static void Init(kBinaryBitmapSaver _parent)
    {
        Rect pos = _parent.EditorRect;

        parent = _parent;

        if (window != null)
        {
            window.Show();
            return;
        }
        else
        {
            window                = ( kBinaryBitmapExtension )EditorWindow.GetWindow(typeof(kBinaryBitmapExtension), false, "Manage Export Extensions");
            window.position       = new Rect(pos.x + 150, pos.y + 20, 250, 300);
            window.wantsMouseMove = true;
            window.Show();
        }
    }
Ejemplo n.º 4
0
 private void OnDestroy()
 {
     if (parent.Ftypes != _types)
     {
         parent.Ftypes = _types;
         parent.Ftype = 0;
     }else{
         parent.Ftype = _tempIndex;
     }
     _types = null;
     parent = null;
     window = null;
 }
Ejemplo n.º 5
0
 /**
  * Editor Window Closing
  */
 private void Closer()
 {
     window.Close();
     window = null;
 }
Ejemplo n.º 6
0
 /**
  * Editor Window Closing
  */
 private void Closer()
 {
     window.Close();
     window = null;
 }