11 lines
236 B
C#
11 lines
236 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class SceneChangeButton : Button
|
|
{
|
|
void _on_pressed()
|
|
{
|
|
GetTree().Root.GetNode("CommonData").GetNode<ChangeMenuInitiator>("ChangeMenuInitiator").ChangeMenu("HTP", "slow",GetParent());
|
|
}
|
|
}
|