-
-
Notifications
You must be signed in to change notification settings - Fork 2
Bowl
eisclimber edited this page Feb 11, 2024
·
2 revisions
class in ExPresSXR.Minigames.CoinScale / Extends UnityEngine.MonoBehaviour
Component added via Component Menu
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.
-
ScaleSide side
: (Readonly) Which Side of the scale this bowl is located.
-
int numTargets
: (Readonly) How many targets are available/required for this TargetAreaTriggerer.
-
int GetWeight()
: The sum of the weights of all coins in this bowl. -
void ResetBowl()
: Resets the bowls position and clears the registered coins. Doe not take care of resetting the coins positions.
-
ScaleSide
: Which Side of the scale this bowl is located, eitherLeft
orRight
.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI