blob: 065accb7f9001b18e6945d37632cab79d0150c4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using Shapes;
using UnityEngine;
[RequireComponent(typeof(Rectangle))]
public class ApplyUpgradeIndicatorColor : MonoBehaviour
{
private void Start()
{
Rectangle component = GetComponent<Rectangle>();
if ((bool)ColorAndLightManager.currentColorscheme)
{
component.Color = ColorAndLightManager.currentColorscheme.upgradeInteractorColor;
}
}
}
|