56 lines
958 B
C#
56 lines
958 B
C#
|
|
using System;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
using QFramework;
|
||
|
|
|
||
|
|
namespace QFramework.Example
|
||
|
|
{
|
||
|
|
// Generate Id:f545426b-8773-48a4-ba44-8444e0aa43b5
|
||
|
|
public partial class UIBody3DMouse
|
||
|
|
{
|
||
|
|
public const string Name = "UIBody3DMouse";
|
||
|
|
|
||
|
|
[SerializeField]
|
||
|
|
public UnityEngine.UI.Image Content;
|
||
|
|
[SerializeField]
|
||
|
|
public UnityEngine.UI.Image 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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|