OldBlueWater/BlueWater/Assets/02.Scripts/Character/CombatPlayer/StateMachines/ReadyToTheWaltzOfTheSwordBehavior.cs
NTG f1d0c6d371 Closes #244, #254 CombatPlayer 개선, 하트 시스템 추가
+ CombatPlayer 기능별 분리
+ Combat, CombatUi 전용 input action map 추가
+ 스킬 시스템 로직 수정
+ 전투플레이어 스킬(검의 왈츠) 로직 변경
2024-05-08 00:37:33 +09:00

38 lines
1.3 KiB
C#

// using System;
// using UnityEngine;
//
// // ReSharper disable once CheckNamespace
// namespace BlueWaterProject
// {
// public class ReadyToTheWaltzOfTheSwordBehavior : StateMachineBehaviour
// {
// private CombatPlayerController combatPlayerController;
// private TheWaltzOfTheSword theWaltzOfTheSword;
//
// public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
// {
// if (combatPlayerController == null)
// {
// combatPlayerController = animator.GetComponentInParent<CombatPlayerController>();
// }
//
// if (theWaltzOfTheSword == null)
// {
// theWaltzOfTheSword = combatPlayerController.MainSkillObject.GetComponent<TheWaltzOfTheSword>();
// }
//
// var animationLength = stateInfo.length;
// animator.speed = animationLength / theWaltzOfTheSword.CastingTime;
// }
//
// public override void OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
// {
//
// }
//
// public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
// {
// animator.speed = 1f;
// }
// }
// }