Skip to content

Coin Reset

eisclimber edited this page Feb 11, 2024 · 2 revisions

Coin Reset

class in ExPresSXR.Minigames.CoinThrow / Extends UnityEngine.MonoBehaviour
Component added via Component Menu

Description

Resets an object to a position upon entering the trigger.

Members

Editor Properties

  • Transform _resetTransform: Position and rotation to reset the coin after hitting/missing. If null, uses its own Transform during awake.

Public Methods

  • void ResetOwnPosition(): Resets the transform either to _resetTransform or the initial Transform if _resetTransform is null.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally