void InitControls() { healthBox = Menu.Label("health"); AddChild(healthBox); itemBox = Menu.Label("item"); AddChild(itemBox); objectiveBox = Menu.Label("Objective Info"); AddChild(objectiveBox); interactionBox = Menu.Label(""); AddChild(interactionBox); }
// Called when the node enters the scene tree for the first time. public override void _Ready() { _CatCountLabel = GetNode <Godot.Label>("Control/CatCountLabel"); _TimeLabel = GetNode <Godot.Label>("Control/TimeLabel"); }
public Label(Godot.Label control) : base(control) { }