rabidus-test/Assets/Scripts/EnergyText.cs

12 lines
258 B
C#
Raw Permalink Normal View History

2023-07-28 11:48:57 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2023-08-15 17:38:54 +03:00
public class EnergyText : UITextDisplayBase
2023-07-28 11:48:57 +03:00
{
2023-08-15 17:38:54 +03:00
protected override void Awake()
2023-07-28 11:48:57 +03:00
{
2023-08-15 17:38:54 +03:00
base.Awake();
_textChanger = FindObjectOfType<EnergyController>();
2023-07-28 11:48:57 +03:00
}
2023-08-15 17:38:54 +03:00
}