using System.Globalization; using Godot; public class MainMenu : Control { // Nodes for menu items private Main _main; private Button _simulateButton; private Button _toggleFullScreenButton; private TextEdit _seedText; private TextEdit _particleCountText; private Button _randomizeButton; private Label _zoomValue; private HSlider _zoomSlider; private Label _invalidLabel; public override void _Ready() { // Init nodes _main = GetTree().Root.GetNode
("Main"); _simulateButton = GetNode("MenuButtons").GetNode