classref: Sync with current master branch (fc1c25d29)

This commit is contained in:
Rémi Verschelde
2022-11-07 14:06:01 +01:00
parent d09033677f
commit 263e4d6224
196 changed files with 5055 additions and 3075 deletions

View File

@@ -31,7 +31,7 @@ In the following example we use a :ref:`LineEdit<class_LineEdit>` node to write
var expression = Expression.new()
func _ready():
$LineEdit.connect("text_submitted", self, "_on_text_submitted")
$LineEdit.text_submitted.connect(self._on_text_submitted)
func _on_text_submitted(command):
var error = expression.parse(command)
@@ -48,7 +48,7 @@ In the following example we use a :ref:`LineEdit<class_LineEdit>` node to write
public override void _Ready()
{
GetNode("LineEdit").Connect("text_submitted", this, nameof(OnTextEntered));
GetNode("LineEdit").TextSubmitted += OnTextEntered;
}
private void OnTextEntered(string command)