CurrentMaxCounterUI

Overview

Displays a "current / max" counter (e.g., Labs) by listening to two IntEvent streams.

Serialized

  • IntEvent labCountChanged, maxLabsChanged
  • TextMeshProUGUI counterText

Behavior

  • Awake() → register both events.
  • OnLabCountChanged(v) / OnMaxLabsChanged(v) → update the text as "{labCount} / {maxLabs}".
  • OnDestroy() → unregister.