Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mikbauer |
I have one node called GridContainer and am trying to attach 8 labels. the below code runs with no errors but I dont see the labels on screen.
extends GridContainer
var labels = [] # holds questions
func _ready():
addLabels()
func addLabels():
for i in 8:
labels.append(Label.new())
labels[i].show()
add_child(labels[i])