补全 UI 设计

- `ItemDescForm` 道具详细信息面板,目前还未添加 DescText 内容的赋值
- `RepoForm` 道具入槽逻辑调整,为了适应 `ItemDescForm` 的点击打开逻辑,点击道具自动匹配槽位改成拖动道具到相应槽位
- 添加了一系列图片素材
This commit is contained in:
SepComet
2026-03-04 12:47:20 +08:00
parent 3e52a4df55
commit e12d2e73b2
147 changed files with 9866 additions and 277 deletions
@@ -1,12 +1,15 @@
using System;
using GeometryTD.Definition;
using GeometryTD.UI;
using UnityEngine;
namespace GeometryTD.UI
{
[Serializable]
public class IconAreaContext : UIContext
{
public RarityType Rarity;
public TowerCompSlotType ComponentSlotType;
public Color Color = Color.white;
public Sprite Icon;
}
}
}
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using GeometryTD.Definition;
using UnityEngine;
namespace GeometryTD.UI
{
public class ItemDescFormContext : UIContext
{
public string Title;
public string TypeText;
public string Description;
public int Price;
public Vector3 TargetPos;
public List<TagType> Tags;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d01ce2ecd9339fb40acface0ef371ed4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: