Ejemplo n.º 1
0
        public void Dispose()
        {
            Utils.Reclaim(skills);
            Utils.Reclaim(skillMotions);

            skills       = default;
            skillMotions = default;
        }
Ejemplo n.º 2
0
        private ComboMotionCreater GetComboMotionCreater(SkillsMapper mapper, int IDForTriggers = -1, int IDForTrans = -1, float checkComboTime = 0f)
        {
            ValueItem[]        triggers = (IDForTriggers > -1) ? mapper[IDForTriggers].GetInfos() : emptySkillInfoValueItems;
            ValueItem[]        trans    = (IDForTrans > -1) ? mapper[IDForTrans].GetInfos() : emptySkillInfoValueItems;
            ComboMotionCreater result   = new ComboMotionCreater(trans.Length, triggers, trans);

            return(result);
        }