Skip to content

Score Display

eisclimber edited this page Feb 11, 2024 · 2 revisions

Score Display

class in ExPresSXR.Minigames.CoinThrow / Extends UnityEngine.MonoBehaviour
Component added via Component Menu

Description

Displays and stores a numerical score via UI.

Members

Editor Properties

  • TMP_Text _textDisplay: Reference to the TMP_Text that displays the value.

Public Methods

  • void AddScore(int score): Amount to add to the current score. Can be negative.
  • void SubtractScore(int score): Amount to subtract to the current score. Can be negative.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally