92 lines
1.8 KiB
C#
92 lines
1.8 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using QFramework;
|
|
|
|
namespace QFramework.Example
|
|
{
|
|
// Generate Id:0c4647d2-2975-4e65-b150-a41db7b78dce
|
|
public partial class UIBody3D
|
|
{
|
|
public const string Name = "UIBody3D";
|
|
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle HideAll;
|
|
[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 DragReset;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button DragBack;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle MouseBtn;
|
|
[SerializeField]
|
|
public RectTransform RightContent;
|
|
[SerializeField]
|
|
public RectTransform BodyContent;
|
|
[SerializeField]
|
|
public RectTransform BodyList;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button MenuBtn;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button CloseBtn;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Toggle BodyItem;
|
|
[SerializeField]
|
|
public UnityEngine.UI.Button BodyBtn;
|
|
|
|
private UIBody3DData mPrivateData = null;
|
|
|
|
protected override void ClearUIComponents()
|
|
{
|
|
HideAll = null;
|
|
LeftContent = null;
|
|
ResetBtn = null;
|
|
ActiveBtn = null;
|
|
ActiveBack = null;
|
|
DragBtn = null;
|
|
DragReset = null;
|
|
DragBack = null;
|
|
MouseBtn = null;
|
|
RightContent = null;
|
|
BodyContent = null;
|
|
BodyList = null;
|
|
MenuBtn = null;
|
|
CloseBtn = null;
|
|
BodyItem = null;
|
|
BodyBtn = null;
|
|
|
|
mData = null;
|
|
}
|
|
|
|
public UIBody3DData Data
|
|
{
|
|
get
|
|
{
|
|
return mData;
|
|
}
|
|
}
|
|
|
|
UIBody3DData mData
|
|
{
|
|
get
|
|
{
|
|
return mPrivateData ?? (mPrivateData = new UIBody3DData());
|
|
}
|
|
set
|
|
{
|
|
mUIData = value;
|
|
mPrivateData = value;
|
|
}
|
|
}
|
|
}
|
|
}
|