static void Init()
    {
        WindowToggle window = (WindowToggle)GetWindow(typeof(WindowToggle), true, "my toggle window");

        window.Show();
    }
 // Use this for initialization
 void Start()
 {
     Window = GetComponent <WindowToggle>();
 }
 // Use this for initialization
 protected virtual void Start()
 {
     Window = GetComponent <WindowToggle>();
 }