65 lines
1.2 KiB
C#
65 lines
1.2 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:24c31af0-620b-42d1-8162-cb3554b3f434
|
|
public partial class UIBody3DMenuTree
|
|
{
|
|
public const string Name = "UIBody3DMenuTree";
|
|
|
|
[SerializeField]
|
|
public RectTransform RootContent;
|
|
[SerializeField]
|
|
public TMPro.TMP_InputField Input;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button Close;
|
|
[SerializeField]
|
|
public RectTransform Content;
|
|
[SerializeField]
|
|
public RectTransform SearchContent;
|
|
[SerializeField]
|
|
public RectTransform Item;
|
|
[SerializeField]
|
|
public RectTransform SearchItem;
|
|
|
|
private UIBody3DMenuTreeData mPrivateData = null;
|
|
|
|
protected override void ClearUIComponents()
|
|
{
|
|
RootContent = null;
|
|
Input = null;
|
|
Close = null;
|
|
Content = null;
|
|
SearchContent = null;
|
|
Item = null;
|
|
SearchItem = null;
|
|
|
|
mData = null;
|
|
}
|
|
|
|
public UIBody3DMenuTreeData Data
|
|
{
|
|
get
|
|
{
|
|
return mData;
|
|
}
|
|
}
|
|
|
|
UIBody3DMenuTreeData mData
|
|
{
|
|
get
|
|
{
|
|
return mPrivateData ?? (mPrivateData = new UIBody3DMenuTreeData());
|
|
}
|
|
set
|
|
{
|
|
mUIData = value;
|
|
mPrivateData = value;
|
|
}
|
|
}
|
|
}
|
|
}
|