using Godot; using System.Collections.Generic; using System.Linq;
publicpartialclassArchives : Node2D { private List<string> SaveFiles; privateint SaveFileIndex = 25; // Called when the node enters the scene tree for the first time. publicoverridevoid _Ready() { // 创建一个 GridContainer ScrollContainer // 创建 ScrollContainer 实例
var HFContainer = new HFlowContainer { Name = "HFlowContainer" }; HFContainer.Size = new Vector2(1600, 800); HFContainer.SetPosition(new Vector2(130, 180)); // 设置外间距 // gridContainer AddChild(HFContainer);