nlupugla
nlupugla
Two follow up questions. 1. Is it possible to have a `const` struct? In other words, in GDScript, will `MyStruct(a = "hello", b = 22)` be considered a literal in...
> @adamscott I thought about this, but ultimately these are methods of Array and will appear in the documentation, so IMO there is no point in hiding this. > >...
@sairam4123 C++ structs are literally classes but with different defaults (public by default instead of private) so I don't think we should be looking to C++ as an example here....
> You could sort of use methods if you make a Callable field. I thought about that too, although it would be super annoying without defaults as you'd have to...