Files
GameJam2023/Levels/Scripts/FinalLevel.cs
2023-09-10 19:49:59 -07:00

12 lines
262 B
C#

using Godot;
public partial class FinalLevel : Node3D
{
public override void _Ready()
{
var bgmPlayer = GetTree().Root.GetNode<BGMPlayer>("BgmPlayer");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/BossTheme.ogg");
bgmPlayer.PlayBGM();
}
}