68 lines
1.2 KiB
C#
68 lines
1.2 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:517b031d-7fb8-4418-aa63-70787d47d5ff
|
|
public partial class UIBody3D
|
|
{
|
|
public const string Name = "UIBody3D";
|
|
|
|
[SerializeField]
|
|
public RectTransform BodyContent;
|
|
[SerializeField]
|
|
public RectTransform LeftContent;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button ResetBtn;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle ActiveBtn;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button ActiveBack;
|
|
[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;
|
|
ResetBtn = null;
|
|
ActiveBtn = null;
|
|
ActiveBack = 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;
|
|
}
|
|
}
|
|
}
|
|
}
|