コード例 #1
0
 private void FixedUpdate()
 {
     UnitMovement();
     if (Time.time >= update_time && current_zone != null)
     {
         update_time = Time.time + 1f;
         target      = current_zone.GetNearUnit(this, transform.localPosition);
     }
 }