Hi there a question about importing and dependencies. I have 2 types that I want to store in a seperate files (type A and Type B).
So including my main file, I want 3 files altogether -
main.bmx
file2.bmx (contains type A)
file3.bmx (contains type B).
Currently I import file2 and file3 in main.bmx which is fine. However, type A in file2 references a type which is contained within file3.bmx - does thiis mean that I have to import file3 into file 2? This does work but seems messy as I am importing the file twice. Are there any nicer solutions to this aside from restructuring my code?
Thanks!
So including my main file, I want 3 files altogether -
main.bmx
file2.bmx (contains type A)
file3.bmx (contains type B).
Currently I import file2 and file3 in main.bmx which is fine. However, type A in file2 references a type which is contained within file3.bmx - does thiis mean that I have to import file3 into file 2? This does work but seems messy as I am importing the file twice. Are there any nicer solutions to this aside from restructuring my code?
Thanks!