using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class MoveBg : MonoBehaviour { public static MoveBg instance; public RectTransform rectTransform; private float moveX = 1372; public bool isMove; //public float orPosX; // Start is called before the first frame update void Start() { //StartMove(); //orPosX = transform.position.x; instance = this; } public void StartMove()//¿ªÊ¼Òƶ¯ { int add = 0; if (Screen.width