godot match code example
Example: godot match
var my_variable = "Not Hello"
match my_variable:
"Hello":
print("Hi")
"Not Hello":
print("Not Hi")
var my_variable = "Not Hello"
match my_variable:
"Hello":
print("Hi")
"Not Hello":
print("Not Hi")