RegionIconUI

Overview

Utility icon that appears only when a tracked value changes since the last frame. Can be linked to Police Severity, Cartel Severity, Control, or Overproduction (supply > demand).

Serialized

  • enum LinkedData { POLICE_SEVERITY, CARTEL_SEVERITY, CONTROL, OVERPRODUCTION }
  • Texture increasingTex, decreasingTex

Behavior

  • For Overproduction: shows increasingTex when OverSupply is true; otherwise hides the icon.
  • For other links: compares current value to the last sampled value and shows increasingTex or decreasingTex; hides if unchanged.