补全 S1 测试
- 调整 CombatNode 正常结束与异常的变量语义,现在是 DidCombatWin 与 Exception - 补充测试样例 - 完成 S1 目标
This commit is contained in:
@@ -19,7 +19,7 @@ namespace GeometryTD.UI
|
||||
[SerializeField] private Color _lockedColor = Color.gray;
|
||||
[SerializeField] private Color _activeColor = Color.cyan;
|
||||
[SerializeField] private Color _passedColor = Color.green;
|
||||
[SerializeField] private Color _failedColor = Color.red;
|
||||
[SerializeField] private Color _exceptionColor = Color.red;
|
||||
[SerializeField] private Color _defaultIconColor = Color.white;
|
||||
[SerializeField] private Color _lockedIconColor = Color.gray;
|
||||
|
||||
@@ -44,9 +44,9 @@ namespace GeometryTD.UI
|
||||
{
|
||||
targetColor = _passedColor;
|
||||
}
|
||||
else if (context.IsFailed)
|
||||
else if (context.IsException)
|
||||
{
|
||||
targetColor = _failedColor;
|
||||
targetColor = _exceptionColor;
|
||||
}
|
||||
else if (context.IsCurrent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user