Fixed merge errors
This commit is contained in:
10
Assets/Scripts/CommonScripts/SceneChangeButton.cs
Normal file
10
Assets/Scripts/CommonScripts/SceneChangeButton.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class SceneChangeButton : Button
|
||||
{
|
||||
void _on_pressed()
|
||||
{
|
||||
GetTree().Root.GetNode("CommonData").GetNode<ChangeMenuInitiator>("ChangeMenuInitiator").ChangeMenu("HTP", "slow",GetParent());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user