23 lines
416 B
C#
23 lines
416 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ScrollingBackg : MonoBehaviour
|
|
{
|
|
public Camera camera;
|
|
public SpriteRenderer renderer;
|
|
public Vector2 scrollSpeed = Vector2.one * .4f;
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|