Replies: 1 comment 1 reply
-
This might be implementable, but only if Variant constructors support using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GDScript does not support
PackedInt32Array(1, 2, 3)
syntax, onlyPackedInt32Array([1, 2, 3])
1. At the same time,.tscn
,.tres
,var_to_str
, etc. do not use[]
.Footnotes
Does this mean that the
Array
is created first, and then it is converted toPacked*Array
?Possibly related: GDScript 2.0: Packed arrays are not considered constant expressions godot#67873. ↩
Beta Was this translation helpful? Give feedback.
All reactions