色指定修正
This commit is contained in:
parent
d98755bdaa
commit
88f44cf16c
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue