Commit 2596a294 authored by SherryChaos's avatar SherryChaos

Highlight DIY Cutin animations in gray

SelectionToggle_Cutin now displays player-submitted Cutin animations with gray text.
parent 703a27a2
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
MDPro3 v1.3.7更新: MDPro3 v1.3.7更新:
1.卡组编辑界面的[测试]按钮恢复功能,并以第一位WindBot为对手,不洗牌进行决斗; 1.卡组编辑界面的[测试]按钮恢复功能,并以第一位WindBot为对手,不洗牌进行决斗;
2.减少开机加载时间。 2.减少开机加载时间。
3.修复外观设置中,壁纸的[无设置]与[随机]不生效的错误; 3.[观看动画]中,玩家投稿的Cutin动画将用灰色字体显示;
4.修复 召唤兽 梅尔卡巴[75286622] 在非Windows端的Spine动画资源丢失的错误。 4.修复外观设置中,壁纸的[无设置]与[随机]不生效的错误;
5.修复 召唤兽 梅尔卡巴[75286622] 在非Windows端的Spine动画资源丢失的错误。
MDPro3 v1.3.6更新: MDPro3 v1.3.6更新:
1.新卡片特效:小丑与锁鸟[94145021]; 1.新卡片特效:小丑与锁鸟[94145021];
......
...@@ -13,9 +13,15 @@ namespace MDPro3.UI ...@@ -13,9 +13,15 @@ namespace MDPro3.UI
public int code; public int code;
public string cardName; public string cardName;
private Color colorForDiyCutin = Color.gray;
public override void Refresh() public override void Refresh()
{ {
Manager.GetElement<TextMeshProUGUI>("ButtonText").text = cardName; Manager.GetElement<TextMeshProUGUI>("ButtonText").text = cardName;
if(CutinViewer.codes.Contains(code))
Manager.GetElement<TextMeshProUGUI>("ButtonText").color = Color.white;
else
Manager.GetElement<TextMeshProUGUI>("ButtonText").color = colorForDiyCutin;
} }
protected override void CallSubmitEvent() protected override void CallSubmitEvent()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment