-
-
Notifications
You must be signed in to change notification settings - Fork 2
Coin Initializer
eisclimber edited this page Feb 11, 2024
·
2 revisions
class in ExPresSXR.Minigames.CoinScale / Extends UnityEngine.MonoBehaviour
Component added via Component Menu
(Re-)Sets the positions of coins and optionally randomizes the fake coin.
-
List<CoinWeight> _coins
: GameObjects of the for coins/objects to scale. -
Transform[] _positions
: Transforms of the objects positions where the coins/objects shall be placed randomly. -
bool _randomizeFakeCoin
: If enabled will set a random coin weight to be fake. Default:true
-
void ResetCoins()
: Resets the coins, shuffles them and optionally randomizes the fake one. -
void ResetCoinPositions()
: Resets only the coins positions, keeping order and not changing the fake one.
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