public override MomentComponentBase DeepCopy() { SkillStatusComponent sc = new SkillStatusComponent(); sc.m_skillStstus = m_skillStstus; sc.m_skillTime = m_skillTime; sc.m_skillTriggerTimeSpace = m_skillTriggerTimeSpace; sc.m_isHit = m_isHit; sc.m_isEnter = m_isEnter; sc.m_isTriggerSkill = m_isTriggerSkill; sc.skillDir = skillDir.DeepCopy(); if (m_currentSkillData != null) { sc.m_currentSkillData = m_currentSkillData.DeepCopy(); } for (int i = 0; i < m_skillList.Count; i++) { sc.m_skillList.Add(m_skillList[i].DeepCopy()); } return(sc); }