Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | steelx |
Im calling a function which needs to check if its NOT inside Scene tree IsInsideTree
then call self _Ready()
method.
E.g. you would do this in Gdscript:
func some_function(text: String) -> void:
bbcode_text = text
if not is_inside_tree():
yield(self, "ready")
What would be equivalent of the above code in C# (csharp)