
Incomplete scripts but the tiles are in vertical alignment. Need to push before bed so I can work on it tomorrow. Will be testing if my laptop can run unity well enough.
18 lines
342 B
C#
18 lines
342 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BackgroundScroll : MonoBehaviour {
|
|
|
|
private Rigidbody2D lowerBod;
|
|
|
|
// Use this for initialization
|
|
void Start () {
|
|
lowerBod = GetComponent<Rigidbody2D>(Background1);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update () {
|
|
|
|
}
|
|
}
|