class_docstr: Class to hold unit data for the builder.
code: def __init__(
      self,
      unit_type,  # see lib/units.py
      player_relative,  # features.PlayerRelative,
      health,
      shields=0,
      energy=0,
      transport_slots_taken=0,
      build_progress=1.0,
  ):
      self.unit_type = unit_type
      self.player_relative = player_relative
      self.health = health
      self.shields = shields
      self.energy = energy
      self.transport_slots_taken = transport_slots_taken
      self.build_progress = build_progress
  
imports: import math
  import numpy
  from pysc2.lib import features
  from s2clientprotocol import raw_pb2
  from s2clientprotocol import sc2api_pb2
  from s2clientprotocol import score_pb2
label_desc: Use image node_id 1 to create a new Unit object from inherited base classes: object with example: obj = Unit(unit_type, player_relative, health, shields, energy, transport_slots_taken, build_progress)