bowl - eisclimber/ExPresS-XR GitHub Wiki

Bowl

Class in ExPresSXR.Minigames.CoinScale

Inherits from UnityEngine.MonoBehaviour

Summary

This script represents a bowl of a scale, detecting coins and calculates a weight (1 for real, 0 for fake coins) from all coins in the bowl.

public class Bowl : MonoBehaviour

Enums

Name Description
ScaleSide Which Side of the scale this bowl is located.

Methods

Name Description
GetWeight() The sum of the weights of all coins in this bowl.
ResetBowl() Resets the bowls position and clears the registered coins. Doe not take care of resetting the coins positions.

Properties

Name Description
Side Which Side of the scale this bowl is located.
⚠️ **GitHub.com Fallback** ⚠️