bad-piggies-0.1.3-porting/Assets/Scripts/Assembly-CSharp/MenuCameraScroller.cs
2024-02-24 22:40:44 -05:00

9 lines
228 B
C#

using UnityEngine;
public class MenuCameraScroller : MonoBehaviour
{
private void Update()
{
base.transform.position = new Vector3(Mathf.PingPong(Time.time, 14f), base.transform.position.y, base.transform.position.z);
}
}