xLua icon indicating copy to clipboard operation
xLua copied to clipboard

ASMDEF Support for generated code

Open batonPiotr opened this issue 1 year ago • 0 comments

My project relies heavily on .asmdef's so I created .asmdefs for XLua also. But this leaves me with the problem that is mentioned in the FAQ:

The important thing to note about changing directories is that the generated code and xLua core code must be in the same assembly. If you want to use the hotfix function, the xLua core code must be in the Assembly-CSharp assembly.

SInce the generated code needs access to some internal properties of XLua, it's not possible to glue them apart.

Could you enable the possibility to create generated code that is outside of XLua core's assembly?

batonPiotr avatar Nov 16 '24 14:11 batonPiotr