示例#1
0
 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();
   });
 }
示例#2
0
 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();
   });
 }