Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | bobthebuilder154 |
Hi,
How to do $LineEdit.text = “something” in C#
What I tried is:
private LineEdit test
public override void _Ready()
{
test= GetNode< LineEdit >(“Control/LineEdit”);
test.Text = “something”;
GD.Print(test.Text);
}
Like you did. That’s correct. Why do you ask?
juppi | 2021-10-22 16:38