-
-
Notifications
You must be signed in to change notification settings - Fork 2
Scale
eisclimber edited this page Feb 11, 2024
·
2 revisions
class in ExPresSXR.Minigames.CoinScale / Extends UnityEngine.MonoBehaviour
Component added via Component Menu
Compares the weight in both bowls.
-
Bowl _leftBowl
: Reference to the left Bowl. -
Bowl _rightBowl
: Reference to the right Bowl.
-
void CheckBowls()
: Checks and calculates the current state of the scale (which side is lower), emits the result via the EventOnScaleCheck
. -
void resetScale()
: Resets the state of the scale, by resetting both bowls.
-
OnScaleCheck<ScaleState>
: Emitted whenCheckBowls()
is called, returning the current state of the scale.
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