RegionStripePattern

Overview

Animated stripes (RawImage) that indicate activity on a region. The stripes are enabled when the region has a Laboratory or an incoming Route; they’re also enabled during active Presence as long as the region doesn’t yet have a Distribution Spot. While Presence is active, the UVs scroll horizontally at slideSpeed.

Serialized

  • Region parentRegion
  • float slideSpeed

Behavior

  • Update()
    • activePresence = parentRegion.Presence
    • inactivePresence = (parentRegion.RegionLab != null) || (LabGroupRegistrar.GetIncomingRoute(parentRegion) != null)
    • image.enabled = inactivePresence || (activePresence && !parentRegion.RegionLocalLab)
      (“Distribution Spot” in UI copy)
    • If activePresence → scroll uvRect.x += deltaTime * slideSpeed.