Beeg checkin
This commit is contained in:
13
Levels/Scripts/FinalLevel.cs
Normal file
13
Levels/Scripts/FinalLevel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
|
||||
public partial class FinalLevel : Node3D
|
||||
{
|
||||
public override void _Ready()
|
||||
{
|
||||
var finalBossGUI = GetTree().GetFirstNodeInGroup("BossGUI") as Control;
|
||||
finalBossGUI.Show();
|
||||
var bgmPlayer = GetTree().Root.GetNode<BGMPlayer>("BgmPlayer");
|
||||
bgmPlayer.SetBGMFromFilepath("Audio/BGM/BossTheme.wav");
|
||||
bgmPlayer.PlayBGM();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user