private void DoAction(bool LoopEnabled, MonsterAnimations anim) { animationController.LoopEnabled = LoopEnabled; animationController.StartClip(skinnedModel.AnimationClips[animations[(int)anim]]); activeAnimation = anim; }
private void DoAction(bool LoopEnabled,MonsterAnimations anim) { animationController.LoopEnabled = LoopEnabled; animationController.StartClip(skinnedModel.AnimationClips[animations[(int)anim]]); activeAnimation = anim; }