diff --git a/RunningLateGame/Assets/Scripts/AI.cs b/RunningLateGame/Assets/Scripts/AI.cs index 895ab29..7fc0f8f 100644 --- a/RunningLateGame/Assets/Scripts/AI.cs +++ b/RunningLateGame/Assets/Scripts/AI.cs @@ -7,6 +7,7 @@ using System.Collections; using UnityEngine; using UnityEngine.AI; +using Random = System.Random; /// /// TODO @@ -98,7 +99,7 @@ private void ChangeState() /// private void SearchWalkPoint() { - var rand = new System.Random(); + var rand = new Random(); float randomX = rand.Next(-movingRange * 100, movingRange * 100); float randomZ = rand.Next(-movingRange * 100, movingRange * 100); destinationCoord = new Vector3(