Reset() public method

public Reset ( ) : void
return void
Esempio n. 1
0
 private void ResetCurSection()
 {
     if (m_CurSection >= 0 && m_CurSection < m_Sections.Count)
     {
         SkillSection section = m_Sections[m_CurSection];
         section.Reset();
     }
 }
Esempio n. 2
0
 static public int Reset(IntPtr l)
 {
     try {
         SkillSystem.SkillSection self = (SkillSystem.SkillSection)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
        public void Reset()
        {
            m_IsInterrupted     = false;
            m_IsFinished        = false;
            m_IsCurveMoveEnable = true;
            m_IsRotateEnable    = true;
            m_IsDamageEnable    = true;
            m_IsStopCurSection  = false;
            m_TimeScale         = 1;
            m_CurSection        = -1;
            m_GoToSectionId     = -1;

            int ct = m_Sections.Count;

            for (int i = ct - 1; i >= 0; --i)
            {
                SkillSection section = m_Sections[i];
                section.Reset();
            }
            m_CustomDatas.Clear();
            m_MessageQueue.Clear();
        }