pingponglineartween - eisclimber/ExPresS-XR GitHub Wiki

PingPongLinearTween

Class in ExPresSXR.Minigames.CoinThrow

Inherits from UnityEngine.MonoBehaviour

Summary

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

Methods

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.
⚠️ **GitHub.com Fallback** ⚠️