protected override void initializeRest() { npm = (NormalPartsManager)objectsManager; filter = GetComponent<MeshFilter>(); goldSkill = (Skill_Gold)SkillManager.sm.getSkill("Gold"); beatAnimation = GetComponent<Animation>(); beatAnimation.wrapMode = WrapMode.Once; RhythmManager.rm.registerCallback(GetInstanceID(), () => { beatAnimation.Play(); }); }
override protected void initializeRest() { summonManager = (SummonPartsManager) objectsManager; mRenderer = GetComponent<Renderer>(); goldSkill = (Skill_Gold)SkillManager.sm.getSkill("Gold"); beatAnimation = GetComponent<Animation>(); beatAnimation.wrapMode = WrapMode.Once; RhythmManager.rm.registerCallback(GetInstanceID(), () => { beatAnimation.Play(); }); }