+ CombatPlayer 기능별 분리 + Combat, CombatUi 전용 input action map 추가 + 스킬 시스템 로직 수정 + 전투플레이어 스킬(검의 왈츠) 로직 변경
21 lines
997 B
C#
21 lines
997 B
C#
using System;
|
|
using System.Collections;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace BlueWaterProject
|
|
{
|
|
public interface IAnimationStateController
|
|
{
|
|
void SetAnimationParameter<T>(T parameter, bool value);
|
|
void SetAnimationParameter<T>(T parameter, int value);
|
|
void SetAnimationParameter<T>(T parameter, float value);
|
|
void SetAnimationTrigger<T>(T parameter);
|
|
bool IsComparingCurrentAnimation(string animationName, int animatorLayer = 0);
|
|
bool IsComparingCurrentAnimation<T>(T animationName, int animatorLayer = 0);
|
|
IEnumerator WaitForAnimationToRun(string animationName, Action<bool> onSuccess, float timeout = 0.2f);
|
|
IEnumerator WaitForAnimationToRun<T>(T animationName, Action<bool> onSuccess, float timeout = 0.2f);
|
|
void SetCurrentAnimationSpeed(float targetDuration, int animatorLayer = 0);
|
|
float GetCurrentAnimationNormalizedTime(int animatorLayer = 0);
|
|
void ResetAnimationSpeed();
|
|
}
|
|
} |