diff --git a/Assets/Scripts/Entity.cs b/Assets/Scripts/Entity.cs index 40fd6e2..598493b 100644 --- a/Assets/Scripts/Entity.cs +++ b/Assets/Scripts/Entity.cs @@ -82,7 +82,7 @@ public class Entity : LevelObject } } - public void move() { + public void Move() { if(!_animation.IsWalking) { _animation.PlayWalkAnim(); } diff --git a/Assets/Scripts/Opponent/Opponent.cs b/Assets/Scripts/Opponent/Opponent.cs index 7a43575..14a2451 100644 --- a/Assets/Scripts/Opponent/Opponent.cs +++ b/Assets/Scripts/Opponent/Opponent.cs @@ -25,7 +25,7 @@ public class Opponent : Entity transform.position += (Vector3)_movementVector; - move(); + Move(); }