예제 #1
0
파일: UI.cs 프로젝트: IndieRonin/Guardian
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     HealthEvent.RegisterListener(UpdateHealthbar);
     UIEvent.RegisterListener(UpdateUI);
     healthbar     = GetNode <TextureProgress>("Healthbar");
     waveCountDown = GetNode <Label>("CountDown");
 }