初始化

This commit is contained in:
come
2025-07-26 16:56:42 +08:00
parent 8291dbb91c
commit fa81439a8c
2574 changed files with 328492 additions and 2170 deletions

View File

@@ -0,0 +1,40 @@
using System.Collections.Generic;
using Sirenix.OdinInspector;
using UnityEngine;
namespace YIUIFramework
{
/// <summary>
/// 面板拆分数据
/// 主要做分块加载
/// </summary>
[HideReferenceObjectPicker]
[HideLabel]
public sealed partial class UIPanelSplitData
{
[HideInInspector]
public GameObject Panel;
[BoxGroup("通用界面", centerLabel: true)]
[LabelText("所有子界面父对象")]
[ReadOnly]
public RectTransform AllViewParent;
[BoxGroup("通用界面", centerLabel: true)]
[LabelText("所有通用界面(已存在不创建的)")]
public List<RectTransform> AllCommonView = new List<RectTransform>();
[BoxGroup("通用界面", centerLabel: true)]
[LabelText("所有需要被创建的界面")]
public List<RectTransform> AllCreateView = new List<RectTransform>();
[BoxGroup("弹窗界面", centerLabel: true)]
[LabelText("所有弹出界面父级")]
[ReadOnly]
public RectTransform AllPopupViewParent;
[BoxGroup("弹窗界面", centerLabel: true)]
[LabelText("所有弹出界面")]
public List<RectTransform> AllPopupView = new List<RectTransform>();
}
}