Vector3 getNextPosition() { Vector3 targetDestination = movementBehavior.getTargetDestination(); agent.SetDestination(targetDestination); return(agent.nextPosition); }
Vector3 getNextPosition() { Vector3 targetDestination = movementBehavior.getTargetDestination(); agent.SetDestination(targetDestination); return(agent.nextPosition); }