23 lines
508 B
C#
23 lines
508 B
C#
#nullable enable
|
|
|
|
using Godot;
|
|
|
|
namespace SideScrollerGame.Menu;
|
|
|
|
public partial class MenuPlaceholder : Control
|
|
{
|
|
public override void _Ready()
|
|
{
|
|
Label? title = GetNodeOrNull<Label>("Title");
|
|
if (title is not null)
|
|
{
|
|
title.Text = "SideScrollerGame - Menu Placeholder";
|
|
}
|
|
|
|
Label? hint = GetNodeOrNull<Label>("Hint");
|
|
if (hint is not null)
|
|
{
|
|
hint.Text = "Run with -- --debug-boot=smoke for smoke scene";
|
|
}
|
|
}
|
|
} |