void FindMask(ref GTWindow needWindow, GTWindow w) { if (w.IsVisable() == false) { return; } if (needWindow == null) { needWindow = w; } else { if (needWindow.Panel.depth < w.Panel.depth) { needWindow = w; } } }
public override bool Check() { GTWindow window = GTWindowManager.Instance.GetWindow(WindowID); return(window == null ? false : window.IsVisable()); }