scale - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.CoinScale
Inherits from UnityEngine.MonoBehaviour
Compares the checkt in both bowls.
public class Scale : MonoBehaviour| Name | Description |
|---|---|
| OnScaleCheck | Emitted when CheckBowls() is called, returning the current state of the scale. |
| Name | Description |
|---|---|
| CheckBowls() | Checks and calculates the current state of the scale (which side is lower), emits the result via the Event OnScaleCheck. |
| ResetScale() | Resets the state of the scale, by resetting both bowls. |