scale - eisclimber/ExPresS-XR GitHub Wiki

Scale

Class in ExPresSXR.Minigames.CoinScale

Inherits from UnityEngine.MonoBehaviour

Summary

Compares the checkt in both bowls.

public class Scale : MonoBehaviour

Fields

Name Description
OnScaleCheck Emitted when CheckBowls() is called, returning the current state of the scale.

Methods

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.
⚠️ **GitHub.com Fallback** ⚠️