Skip to main content

Counter

info

These docs were last updated for Counter 1.1.0.

Requirements​

Install ValenCommons first.

Install​

  1. Import the provided Counter .unitypackage file.
  2. Locate Packages/com.valenvrc.counter/Runtime/7SegCounter.prefab.
  3. Drag the prefab into the scene.

Settings​

SettingPurpose
Instant IncrementUpdates every digit immediately. When disabled, the display counts toward the target one step per frame.
Input FieldTMP_InputField read by UpdateValue().
Seven Seg ParentsParent containing the digit objects.

UpdateValue() clamps the synchronized value from zero to the largest value the available digits can show. Duplicate or remove digit children to change that range, then keep them in least-significant to most-significant order.