Ejemplo n.º 1
0
 private void OnEnable()
 {
     goldText.color = Color.yellow;
     if (statesMenuUIScript != null)
     {
         statesMenuUIScript = GetComponentInParent <StatesMenuUIScript>();
     }
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     if (statesMenuUIScript != null)
     {
         statesMenuUIScript = GetComponentInParent <StatesMenuUIScript>();
     }
     goldText.color = Color.yellow;
 }