补充相关 UI

- 事件 UI:EventForm
    - 选项:OptionItem
- 仓库 UI:RepoForm
    - 组装槽:CombineSlotItem
    - 组件列表槽:RepoItem
This commit is contained in:
SepComet
2026-02-26 23:29:32 +08:00
parent 11e4c1c1f2
commit d9c118ace3
59 changed files with 5986 additions and 1055 deletions
@@ -0,0 +1,28 @@
using GameFramework;
using GameFramework.ObjectPool;
using GeometryTD.UI;
using UnityEngine;
namespace GeometryTD.PoolObjectBase
{
public class RepoItemObject : ObjectBase
{
public static RepoItemObject Create(object target)
{
RepoItemObject itemObject = ReferencePool.Acquire<RepoItemObject>();
itemObject.Initialize(target);
return itemObject;
}
protected override void Release(bool isShutdown)
{
RepoItem item = (RepoItem)Target;
if (item == null)
{
return;
}
Object.Destroy(item.gameObject);
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ebb8e70bb59842de9695893d7794983f
timeCreated: 1772106311