using System; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework.Example { // Generate Id:be7133cf-6b67-4ebc-b151-f39cadcba0d2 public partial class UITools { public const string Name = "UITools"; [SerializeField] public UnityEngine.UI.Image bg; [SerializeField] public UnityEngine.UI.ScrollRect Scroll; [SerializeField] public RectTransform Content; [SerializeField] public UnityEngine.UI.Button ItemPrefab; private UIToolsData mPrivateData = null; protected override void ClearUIComponents() { bg = null; Scroll = null; Content = null; ItemPrefab = null; mData = null; } public UIToolsData Data { get { return mData; } } UIToolsData mData { get { return mPrivateData ?? (mPrivateData = new UIToolsData()); } set { mUIData = value; mPrivateData = value; } } } }