Node_Ready Method |
Called when the node is "ready", i.e. when both the node and its children have entered the scene tree. If the node has children, their _Ready callbacks get triggered first, and the parent node will receive the ready notification afterwards.
Corresponds to the notification in _Notification(Int32). See also the onready keyword for variables.
Usually used for initialization. For even earlier initialization, may be used. See also _EnterTree.
Note: _Ready may be called only once for each node. After removing a node from the scene tree and adding again, _ready will not be called for the second time. This can be bypassed with requesting another call with RequestReady, which may be called anywhere before adding the node again.
Namespace: Godot
public virtual void _Ready()