You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extends Node2D
#func _ready() -> void:
func _process(delta) -> void:
var t = TYPE_NIL
if !(
t == TYPE_NIL
|| t == TYPE_AABB
|| t == TYPE_ARRAY
|| t == TYPE_BASIS
|| t == TYPE_BOOL
|| t == TYPE_COLOR
|| t == TYPE_COLOR_ARRAY
|| t == TYPE_DICTIONARY
|| t == TYPE_INT
|| t == TYPE_VECTOR3_ARRAY
# # TODOGODOT4
# || t == TYPE_VECTOR2I
# || t == TYPE_VECTOR3I
# || t == TYPE_STRING_NAME
# || t == TYPE_RECT2I
# || t == TYPE_FLOAT64_ARRAY
# || t == TYPE_INT64_ARRAY
# || t == TYPE_CALLABLE
):
return
produce such result
extends Node2D
#func _ready() -> void:
func _process(delta) -> void:
var t = TYPE_NIL
if !(
t == TYPE_NIL
|| t == TYPE_AABB
|| t == TYPE_ARRAY
|| t == TYPE_BASIS
|| t == TYPE_BOOL
|| t == TYPE_COLOR
|| t == TYPE_COLOR_ARRAY
|| t == TYPE_DICTIONARY
|| t == TYPE_INT
|| t == TYPE_VECTOR3_ARRAY
):
# # TODOGODOT4
# || t == TYPE_VECTOR2I
# || t == TYPE_VECTOR3I
# || t == TYPE_STRING_NAME
# || t == TYPE_RECT2I
# || t == TYPE_FLOAT64_ARRAY
# || t == TYPE_INT64_ARRAY
# || t == TYPE_CALLABLE
return
I added comment inside if, to be able to uncomment easily it, but after formatting I must copy this code each time
The text was updated successfully, but these errors were encountered:
Formatting this code
produce such result
I added comment inside if, to be able to uncomment easily it, but after formatting I must copy this code each time
The text was updated successfully, but these errors were encountered: