示例#1
0
 public override void _Ready()
 {
     container = GetNode <GridContainer>("Grid");
     Connect("visibility_changed", this, nameof(Refresh));
     container.Connect("resized", this, nameof(on_Resized));
     Refresh();
 }