UI and enemy movement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user