Hi,
I'm trying to do just some simple things in C#, without any luck.
For instance changing the Scene. The code example here does not work:
https://docs.godotengine.org/en/latest/tutorials/scripting/singletons_autoload.html?highlight=CurrentScene
Isn't this link for Godot 4 API?
https://docs.godotengine.org/en/latest/tutorials/scripting
Edit: I found another way. I created my scenes under a Main Node.
Then I just switch their visibility. I don't know if this is a good way, but it works for my experiments 🙂
public override void _Pressed()
{
var startMenu = GetNode<Control>("/root/Main/StartMenu");
var gameScene = GetNode<Node3D>("/root/Main/Creep3dGame");
startMenu.Visible = false;
gameScene.Visible = true;
}