elevationchanger - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.CoinScale
Inherits from UnityEngine.MonoBehaviour
This script represents one side of a scale, changing it's position as a delegate of a scale.
Make sure to add a Rigidbody (as a child) and lock it's movement/rotation. This guarantees that objects are pushed correctly. (See the "Push Bases" of the Scale for reference).
public class ElevationChanger : MonoBehaviour| Name | Description |
|---|---|
| Activate(ScaleState) | Starts the transitions from the current to the provided state (=elevation). |