色指定修正

This commit is contained in:
kimura 2021-12-08 13:28:39 +09:00
parent d98755bdaa
commit 88f44cf16c
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class ProductManagementTankView : MonoBehaviour
public void SetCanBuy(bool active) public void SetCanBuy(bool active)
{ {
canBuy = active; canBuy = active;
price.color = active ? defaultColor : Color.red; price.color = active ? defaultColor : redColor;
SetPurchaseButtonActive(active); SetPurchaseButtonActive(active);
} }
} }