2025-02-10 17:23:54 +08:00
|
|
|
using System;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using QFramework;
|
|
|
|
|
|
|
|
|
|
namespace QFramework.Example
|
|
|
|
|
{
|
2025-02-17 17:03:48 +08:00
|
|
|
// Generate Id:72ad2108-5768-445e-af82-c0c5db90d8e7
|
2025-02-10 17:23:54 +08:00
|
|
|
public partial class UIBody3D
|
|
|
|
|
{
|
|
|
|
|
public const string Name = "UIBody3D";
|
|
|
|
|
|
|
|
|
|
[SerializeField]
|
|
|
|
|
public RectTransform BodyContent;
|
|
|
|
|
[SerializeField]
|
2025-02-14 17:09:41 +08:00
|
|
|
public RectTransform BodyList;
|
|
|
|
|
[SerializeField]
|
2025-02-13 11:02:16 +08:00
|
|
|
public RectTransform LeftContent;
|
|
|
|
|
[SerializeField]
|
2025-02-14 13:20:54 +08:00
|
|
|
public UnityEngine.UI.Button ResetBtn;
|
2025-02-13 11:02:16 +08:00
|
|
|
[SerializeField]
|
2025-02-13 17:21:18 +08:00
|
|
|
public UnityEngine.UI.Toggle ActiveBtn;
|
|
|
|
|
[SerializeField]
|
|
|
|
|
public UnityEngine.UI.Button ActiveBack;
|
|
|
|
|
[SerializeField]
|
2025-02-14 13:20:54 +08:00
|
|
|
public UnityEngine.UI.Toggle DragBtn;
|
|
|
|
|
[SerializeField]
|
|
|
|
|
public UnityEngine.UI.Button DragBack;
|
|
|
|
|
[SerializeField]
|
2025-02-17 17:03:48 +08:00
|
|
|
public UnityEngine.UI.Button MenuBtn;
|
|
|
|
|
[SerializeField]
|
2025-02-10 17:23:54 +08:00
|
|
|
public UnityEngine.UI.Toggle BodyItem;
|
2025-02-14 17:09:41 +08:00
|
|
|
[SerializeField]
|
|
|
|
|
public UnityEngine.UI.Button BodyBtn;
|
2025-02-10 17:23:54 +08:00
|
|
|
|
|
|
|
|
private UIBody3DData mPrivateData = null;
|
|
|
|
|
|
|
|
|
|
protected override void ClearUIComponents()
|
|
|
|
|
{
|
|
|
|
|
BodyContent = null;
|
2025-02-14 17:09:41 +08:00
|
|
|
BodyList = null;
|
2025-02-13 11:02:16 +08:00
|
|
|
LeftContent = null;
|
2025-02-14 13:20:54 +08:00
|
|
|
ResetBtn = null;
|
2025-02-13 17:21:18 +08:00
|
|
|
ActiveBtn = null;
|
|
|
|
|
ActiveBack = null;
|
2025-02-14 13:20:54 +08:00
|
|
|
DragBtn = null;
|
|
|
|
|
DragBack = null;
|
2025-02-17 17:03:48 +08:00
|
|
|
MenuBtn = null;
|
2025-02-10 17:23:54 +08:00
|
|
|
BodyItem = null;
|
2025-02-14 17:09:41 +08:00
|
|
|
BodyBtn = null;
|
2025-02-10 17:23:54 +08:00
|
|
|
|
|
|
|
|
mData = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public UIBody3DData Data
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return mData;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UIBody3DData mData
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return mPrivateData ?? (mPrivateData = new UIBody3DData());
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
mUIData = value;
|
|
|
|
|
mPrivateData = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|