This commit is contained in:
h z
2024-06-26 14:23:02 +08:00
parent cbe5887f5f
commit b8af5f3ccd
22 changed files with 467 additions and 174 deletions

View File

@@ -4,12 +4,12 @@ using System;
public partial class MainScene : Node2D
{
public Node CurrentScene { get; set; }
public VirtualChemDemo Demo { get; set; }
public VirtualChemistryDemo Demo { get; set; }
public override void _Ready()
{
GlobalScene.MainScene = this;
Demo = GetNode<VirtualChemDemo>("Demo");
Demo = GetNode<VirtualChemistryDemo>("Demo");
CurrentScene = Demo;
}