chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:49:17 +08:00
commit 7243d5823b
2201 changed files with 257291 additions and 0 deletions
@@ -0,0 +1,19 @@
using UnityEngine;
public class Bouncer : MonoBehaviour
{
public float speed = 1f;
public float height = 2f;
private Vector3 startPos;
void Start()
{
startPos = transform.position;
}
void Update()
{
float newY = startPos.y + Mathf.Abs(Mathf.Sin(Time.time * speed)) * height;
transform.position = new Vector3(startPos.x, newY, startPos.z);
}
}