UI and enemy movement

This commit is contained in:
2023-07-11 23:07:03 +03:00
parent aa5e5586b2
commit 14a6a06159
81 changed files with 13839 additions and 55 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ public class EnemyAI : Character
{
protected override void OnDeath()
{
throw new System.NotImplementedException();
}
protected override void SetClimbingAnimation(bool isClimbing)
@@ -19,7 +18,7 @@ public class EnemyAI : Character
{
float horizontal = 0;
float vertical = 0;
if (Player.Instance.transform.position.x - transform.position.x < -0.05f && isAllowLeft)
{
horizontal = -1;