59 lines
1010 B
C#
59 lines
1010 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:89fda2e5-1471-418f-9925-5b2ab6cfed6d
|
|
public partial class UIBody3D
|
|
{
|
|
public const string Name = "UIBody3D";
|
|
|
|
[SerializeField]
|
|
public RectTransform BodyContent;
|
|
[SerializeField]
|
|
public RectTransform LeftContent;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle DragBtn;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button DragBack;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle BodyItem;
|
|
|
|
private UIBody3DData mPrivateData = null;
|
|
|
|
protected override void ClearUIComponents()
|
|
{
|
|
BodyContent = null;
|
|
LeftContent = null;
|
|
DragBtn = null;
|
|
DragBack = null;
|
|
BodyItem = null;
|
|
|
|
mData = null;
|
|
}
|
|
|
|
public UIBody3DData Data
|
|
{
|
|
get
|
|
{
|
|
return mData;
|
|
}
|
|
}
|
|
|
|
UIBody3DData mData
|
|
{
|
|
get
|
|
{
|
|
return mPrivateData ?? (mPrivateData = new UIBody3DData());
|
|
}
|
|
set
|
|
{
|
|
mUIData = value;
|
|
mPrivateData = value;
|
|
}
|
|
}
|
|
}
|
|
}
|