Beispiel #1
0
    // Loop Function --------------------------------------------------------------------
    void Awake()
    {
        m_bEndNcCurveAnimation = false;                 // disable

        m_fStartTime       = 0;
        m_NcCurveAnimation = null;
    }
Beispiel #2
0
 void Start()
 {
     m_fStartTime = GetEngineTime();
     if (m_bEndNcCurveAnimation)
     {
         m_NcCurveAnimation = GetComponent <NcCurveAnimation_B>();
     }
 }
Beispiel #3
0
    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;
        }
    }