Esempio n. 1
0
        //-------------------------------------------------------------------------------------------------------

        /**
         * @brief 变身
         * @param
         */
        private object Change(object param)
        {
            if (m_Owner == null)
            {
                return(null);
            }

            ChangeBody changeInfo = (ChangeBody)param;
            EntityView ev         = m_Owner.GetView();

            if (ev != null)
            {
                ev.Change(changeInfo);
                return(null);
            }

            return(null);
        }