补充参战防御塔进入战斗逻辑
- 将 Inventory 中参战的防御塔数据传递到 CombatSelectForm 中 - 为防御塔的图标展示添加 TowerRepoItem 与 TowerIconArea 适配防御塔的三层 Image
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using GeometryTD.Definition;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GeometryTD.UI
|
||||
{
|
||||
[Serializable]
|
||||
public class TowerIconAreaContext : IconAreaContext
|
||||
{
|
||||
public Color MuzzleColor = Color.white;
|
||||
public Color BearingColor = Color.white;
|
||||
public Color BaseColor = Color.white;
|
||||
|
||||
public TowerIconAreaContext()
|
||||
{
|
||||
ComponentSlotType = TowerCompSlotType.None;
|
||||
Color = Color.white;
|
||||
Icon = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3576597006db5b458566429f98a6f43
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user