コード例 #1
0
        public void UIKit_HideAllPanelTest()
        {
            ResKit.Init();

            var uiKitTestPanel = UIKit.OpenPanel <UIKitTestPanel>();

            var uikitTestPanel2 = UIKit.OpenPanel <UIKitTestPanel2>();

            UIKit.HideAllPanel();

            Assert.AreEqual(uiKitTestPanel.State, PanelState.Hide);
            Assert.IsFalse(uiKitTestPanel.gameObject.activeSelf);
            Assert.AreEqual(uikitTestPanel2.State, PanelState.Hide);
            Assert.IsFalse(uikitTestPanel2.gameObject.activeSelf);

            UIKit.CloseAllPanel();
        }