private void Awake() { if (instance == null) { instance = this; } else { } }
public HudSystem(Wing player, Entity hudNt) { this.player = player; energyIndicator = hudNt.GetComponent <EnergyIndicator>(); }