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

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

            UIKit.Stack.Push <UIKitTestPanel>();

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

            Assert.AreEqual(uiKitTestPanel.State, PanelState.Closed);

            UIKit.Back(uiKitTestPanel2);

            uiKitTestPanel = UIKit.GetPanel <UIKitTestPanel>();

            Assert.AreEqual(uiKitTestPanel.State, PanelState.Opening);

            UIKit.CloseAllPanel();
        }