using Godot; using System; public class WorldInfoComponent : Component { [Export] public NodePath World; public TileWorld TileWorld; // Called when the node enters the scene tree for the first time. public override void _Ready() { TileWorld = GetNode(World); } public void SetWorld(TileWorld tileWorld) { TileWorld = tileWorld; } }