Prepare() public method

public Prepare ( ) : void
return void
示例#1
0
 static public int Prepare(IntPtr l)
 {
     try {
         SkillSystem.SkillSection self = (SkillSystem.SkillSection)checkSelf(l);
         self.Prepare();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
        public void ChangeToSection(int index)
        {
            if (index >= 0 && index < m_Sections.Count)
            {
                SkillSection section = m_Sections[index];
                m_CurSection         = index;
                m_CurSectionDuration = section.Duration * 1000;
                m_CurSectionTime     = 0;
                section.Prepare();

                //LogSystem.Debug("ChangeToSection:{0} duration:{1}", index, m_CurDuration);
            }
        }