假设爱丽丝和鲍勃面对面地选择一个数字。我们叫它"97“
爱丽丝的原话是“你在哪里学习的?”
假设我们有人工智能。让这个人工智能产生1000个有意义的信息
1. Message: "You were so good at school"
2. Message: "My uncle came to us. I told my uncle about you"
3. Message: "Has your illness passed? Are you better?"
.
.
.
97. Message: "Where did you
下面是我为人工智能编写的代码:
public Transform player;
public NavMeshAgent Enemy;
public CharacterPowers CharPow;
public GameObject me;
// Update is called once per frame
void Update () {
Vector3 targetDir = player.position - transform.position;
float angleToPlayer = (Vector3.Angle(targetDir, transform.