// Loop Function -------------------------------------------------------------------- void Awake() { m_bEndNcCurveAnimation = false; // disable m_fStartTime = 0; m_NcCurveAnimation = null; }
void Start() { m_fStartTime = GetEngineTime(); if (m_bEndNcCurveAnimation) { m_NcCurveAnimation = GetComponent <NcCurveAnimation_B>(); } }
public void CopyTo(NcCurveAnimation_B target, bool bCurveOnly) { target.m_CurveInfoList = new List <NcInfoCurve>(); foreach (NcInfoCurve curveInfo in m_CurveInfoList) { target.m_CurveInfoList.Add(curveInfo.GetClone()); } if (bCurveOnly == false) { target.m_fDelayTime = m_fDelayTime; target.m_fDurationTime = m_fDurationTime; // target.m_bAutoDestruct = m_bAutoDestruct; } }