Files
GameJam2023/Levels/Scripts/FinalLevel.cs

14 lines
367 B
C#

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.ogg");
bgmPlayer.PlayBGM();
}
}