56 lines
951 B
C#
56 lines
951 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:2ce25397-3fd5-457c-87e8-267f98249c63
|
|
public partial class UIBody3DMouse
|
|
{
|
|
public const string Name = "UIBody3DMouse";
|
|
|
|
[SerializeField]
|
|
public UnityEngine.UI.Image Content;
|
|
[SerializeField]
|
|
public RectTransform Point;
|
|
[SerializeField]
|
|
public TMPro.TextMeshProUGUI BodyName;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button SelectBtn;
|
|
|
|
private UIBody3DMouseData mPrivateData = null;
|
|
|
|
protected override void ClearUIComponents()
|
|
{
|
|
Content = null;
|
|
Point = null;
|
|
BodyName = null;
|
|
SelectBtn = null;
|
|
|
|
mData = null;
|
|
}
|
|
|
|
public UIBody3DMouseData Data
|
|
{
|
|
get
|
|
{
|
|
return mData;
|
|
}
|
|
}
|
|
|
|
UIBody3DMouseData mData
|
|
{
|
|
get
|
|
{
|
|
return mPrivateData ?? (mPrivateData = new UIBody3DMouseData());
|
|
}
|
|
set
|
|
{
|
|
mUIData = value;
|
|
mPrivateData = value;
|
|
}
|
|
}
|
|
}
|
|
}
|