Where haxe trait is store?

question

#1

Hi, where traits are stored ?? how can we import traits from another scene ?


#2

Traits are stored in folderWhereblendfileis-Sources-arm.
It is imported like this import folderWhereYourTraitIsKept.FileName/ClassName;


#3

Ok, this will help me ! thank you


#4

As you are working with Armory, definitely “look behind the GUI” at the Haxe source-code. It may seem strange to you but it actually does make a certain amount of sense, and it does explain (in a very important way) how certain tricks are done. Your game does become an (fully or partially automatically-generated) program.