using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
public float speed =1.0f;void Update (){if(transform.position.y <6){
transform.position = new Vector3(0,6,0);//Y值可适当改变,但是要使图片低端能贴合到背景里}
transform.Translate(0,-speed * Time.deltaTime,0);}}