コード例 #1
0
ファイル: UIFlowCommand.cs プロジェクト: yabos/SaveTheQueen
        public bool Execute()
        {
            if (m_prevWidget != null)
            {
                m_prevWidget.Hide();
            }

            //m_currentWidget.Show(0.0f, m_data);
            m_undo = false;

            return(true);
        }
コード例 #2
0
ファイル: UIFlowCommand.cs プロジェクト: yabos/SaveTheQueen
        public void Undo()
        {
            if (m_prevWidget != null)
            {
                m_prevWidget.Show(m_activeTime, m_data, true);
            }

            m_currentWidget.Hide();

            m_undo = true;
        }