コード例 #1
0
 public override void AgentReset()
 {
     died                  = false;
     enemyKilled           = false;
     rigid.angularVelocity = Vector3.zero;
     rigid.velocity        = Vector3.zero;
     transform.position    = startingPoints[Random.Range(0, startingPoints.Length)].position;
     healthScript.Start();
 }