示例#1
0
        // 结束转换模型,自己手牌、场牌转换
        public void endConvModel(int type)
        {
            if (m_effectRootGO != null)         // 如果存在
            {
                UtilApi.SetParent(m_effectRootGO, m_being.gameObject(), false);
                UtilApi.normalRST(m_effectRootGO.transform);
            }

            if (0 == type)
            {
                m_frameEffectId = 4;
            }
            else
            {
                m_frameEffectId = 1;
            }

            if (m_frameEffect != null)
            {
                changeFrameEffectId();
            }
        }