pingponglineartween - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.CoinThrow
Inherits from UnityEngine.MonoBehaviour
This is only a minimal script to allow ping-pong-tweening.
If you need something more elaborate, safe yourself the headache and buy a tween library like DOTween:)
public class PingPongLinearTween : MonoBehaviour| Name | Description |
|---|---|
| ResetTween() | Resets the position of the tweened object to its initial position. |
| StartTween() | Starts the tween and/or resets its progress. |
| StopTween(bool) | Stops the tween and resets the position if resetPos is true. |