void SetCurveAni(NcCurveAnimation.NcInfoCurve selCurveInfo) { // copy if (m_bOnlyCurve) { m_CurrentCurveAnimation.GetCurveInfo(m_OriCurveInfoIndex).m_AniCurve = selCurveInfo.GetClone().m_AniCurve; m_SelCurveInfo = selCurveInfo; } else { m_CurrentCurveAnimation.SetCurveInfo(m_OriCurveInfoIndex, selCurveInfo.GetClone()); m_SelCurveInfo = selCurveInfo; } }