Beispiel #1
0
        public override void _updateRealVisible()
        {
            base._updateRealVisible();
            bool active = this.m_u3dObj.active;

            if (active)
            {
                this.m_bPlayingActAction = null;
                this.m_curActState       = QS_ACT_STATE.NONE;
                this.stateact_Change(QS_ACT_STATE.IDLE);
            }
        }
Beispiel #2
0
        public void stateact_Change(QS_ACT_STATE sta)
        {
            bool flag = this.m_curActState == sta;

            if (!flag)
            {
                this.m_curActState = sta;
                bool flag2 = this.m_bPlayingActAction == null;
                if (flag2)
                {
                    this.play_ActState();
                }
            }
        }