mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 14:25:55 +00:00
Reparented objects for pause
This commit is contained in:
parent
a5dac0606c
commit
ac923941c3
5 changed files with 234 additions and 222 deletions
|
|
@ -11,6 +11,8 @@ public partial class GlobalState : Node
|
|||
{
|
||||
Instance = this;
|
||||
|
||||
this.ProcessMode = ProcessModeEnum.Always;
|
||||
|
||||
Viewport root = GetTree().Root;
|
||||
// Using a negative index counts from the end, so this gets the last child node of `root`.
|
||||
CurrentScene = root.GetChild(-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue