1
This commit is contained in:
@@ -83,7 +83,7 @@ namespace BITFALL.Entities.Equipment.Melee
|
||||
public override void OnStateEntry(IState old)
|
||||
{
|
||||
base.OnStateEntry(old);
|
||||
meleeController.animator.Play(BITConstant.Player.Attack);
|
||||
meleeController.UnityEntity.Invoke(Constant.Animation.Play,BITConstant.Player.Attack);
|
||||
}
|
||||
public override void OnStateUpdate(float deltaTime)
|
||||
{
|
||||
@@ -100,7 +100,7 @@ namespace BITFALL.Entities.Equipment.Melee
|
||||
public override void OnStateEntry(IState old)
|
||||
{
|
||||
base.OnStateEntry(old);
|
||||
meleeController.animator.Play(BITConstant.Player.Charging);
|
||||
meleeController.UnityEntity.Invoke(Constant.Animation.Play,BITConstant.Player.Charging);
|
||||
|
||||
}
|
||||
public override void OnStateUpdate(float deltaTime)
|
||||
@@ -127,7 +127,7 @@ namespace BITFALL.Entities.Equipment.Melee
|
||||
public override void OnStateEntry(IState old)
|
||||
{
|
||||
base.OnStateEntry(old);
|
||||
meleeController.animator.Play(BITConstant.Player.HeavyAttack);
|
||||
meleeController.UnityEntity.Invoke(Constant.Animation.Play,BITConstant.Player.HeavyAttack);
|
||||
_playerMovement.Stamina -= meleeController.melee.HeavyAttackStaminaCost;
|
||||
}
|
||||
}
|
||||
@@ -143,7 +143,7 @@ namespace BITFALL.Entities.Equipment.Melee
|
||||
{
|
||||
base.OnStateEntry(old);
|
||||
_interval.Reset();
|
||||
meleeController.animator.Play(BITConstant.Player.Blocking);
|
||||
meleeController.UnityEntity.Invoke(Constant.Animation.Play,BITConstant.Player.Blocking);
|
||||
}
|
||||
public override void OnStateUpdate(float deltaTime)
|
||||
{
|
||||
|
Reference in New Issue
Block a user