123456789101112131415161718192021222324252627 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class VirtualScrollRectItem : MonoBehaviour
- {
- #region Config
- public bool Inited;
- public RectTransform RectTransform;
- #endregion
- public virtual bool Init()
- {
- if (Inited)
- {
- return true;
- }
- Inited = true;
- RectTransform = GetComponent<RectTransform>();
- return false;
- }
- }
|