using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using UnityEngine.UI;
public class ImageMove : MonoBehaviour {
public static ImageMove instance;
public List<Button> buttons;
public GameObject Content;//
public GameObject Content1;
public GameObject Content2;
public GameObject Content3;
// Use this for initialization
//[SerializeField]
public int count =0;
private int value_end;
private int value_end1;
private int value_end2;
void Start () {
instance = this;
}
// Update is called once per frame
void Update () {
value_end = -1920 * (count - 1);
value_end1 = -400 * (count - 1);
value_end2 = -257 * (Content2.gameObject.transform.childCount - 7);
//Debug.Log(Content2.gameObject.transform.childCount);
}
public void Content_R()
{
if (Content.transform.localPosition.x <= 0 && Content.transform.localPosition.x >
|