using DG.Tweening; using UnityEngine; using UnityEngine.UI; /// /// 显示区 /// public class CalendarDetails : MonoBehaviour { public static CalendarDetails Inst; //public GameObject scrollView; //public GameObject prefab; //public Transform Content; public Image img_bg; public Image img; Button img_bt; public GameObject bg; public GameObject preform; public Transform content; RectTransform content_ret; GridLayoutGroup content_grid; public Button cls_bt; public Vector3 vector3; private void Awake() { Inst = this; content_ret = content.GetComponent(); content_grid = content.GetComponent(); vector3 = img_bg.transform.localPosition; img_bt = img.gameObject.GetComponent