Ejemplo n.º 1
0
    static void ShowWindow()
    {
        if(SingleWindow == null)
        {
            SingleWindow = (CFXEasyEditor)ScriptableObject.CreateInstance(typeof(CFXEasyEditor));
            SingleWindow.title = "CartoonFX Easy Editor";
            SingleWindow.minSize = new Vector2(300,420);
            SingleWindow.maxSize = new Vector2(300,420);
            SingleWindow.position = new Rect(200,200,300,420);
        }

        SingleWindow.ShowUtility();
        SingleWindow.Focus();
    }
Ejemplo n.º 2
0
    static void ShowWindow()
    {
        if (SingleWindow == null)
        {
            SingleWindow          = (CFXEasyEditor)ScriptableObject.CreateInstance(typeof(CFXEasyEditor));
            SingleWindow.title    = "CartoonFX Easy Editor";
            SingleWindow.minSize  = new Vector2(300, 420);
            SingleWindow.maxSize  = new Vector2(300, 420);
            SingleWindow.position = new Rect(200, 200, 300, 420);
        }

        SingleWindow.ShowUtility();
        SingleWindow.Focus();
    }
Ejemplo n.º 3
0
	void OnDisable()
	{
		SingleWindow = null;
	}
Ejemplo n.º 4
0
 void OnDisable()
 {
     SingleWindow = null;
 }