First commit for private source control. Older commits available on Github.

This commit is contained in:
2026-03-26 12:52:52 +00:00
parent a04c602626
commit 2d449c4a17
2176 changed files with 408185 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#if PRIME_TWEEN_INSTALLED
using PrimeTween;
using UnityEngine;
namespace PrimeTweenDemo {
public class SwipeTutorial : MonoBehaviour {
Tween tween;
void OnEnable() {
#if !UNITY_2019_1_OR_NEWER || UNITY_UGUI_INSTALLED
tween = Tween.Alpha(GetComponent<UnityEngine.UI.Text>(), 1, 0, 1, Ease.InOutSine, -1, CycleMode.Yoyo);
#else
Debug.LogError("Please install the package and re-open the Demo scene: 'Package Manager/Packages/Unity Registry/Unity UI' (com.unity.ugui).");
#endif
}
public void Hide() {
if (tween.isAlive) {
// Stop cycling the animation when it reaches the 'endValue' (0)
tween.SetRemainingCycles(true);
}
}
}
}
#endif