Is it intentional that you can't attach scripts that aren't toplevel #7
Replies: 1 comment 3 replies
-
You can have scripts that aren't top level, is your file in the For your macro error it means you are importing types in the cs package from a file in macro mode, all godot imports end up importing the cs package. Though maybe it's not coming from your code, the file |
Beta Was this translation helpful? Give feedback.
-
If I place a .hx file in a package 'name' the compiler will give out a error saying that
package name; should be package;
. The error comes from the godot.Godot file so i'm just wondering if this intentional? It seems intentional due to error originating from godot.Godot macro processing.Also another unrelated error. This question may be better suited for the haxe forum but I though I'd ask here first because it is your project. In my haxe godot project macros simply do not work. Build macros turnoff autocompletion, expression macro args and returns are always null and if I have a macro that just embeds a string the code will refuse to compile due to
You cannot access the cs package while in a macro (for cs.NativeArray)
.Beta Was this translation helpful? Give feedback.
All reactions