常用方法
常用方法
常用方法
常用方法
void Update() { if (Agent.remainingDistance <= Agent.stoppingDistance) { Agent.SetDestination(Agent.RandomPosition(WanderDistance)); } }
void Update() { if (Agent.remainingDistance <= Agent.stoppingDistance) { Agent.SetDestination(Agent.RandomPosition(WanderDistance)); } }