I need to declare a struct to let it be accessed in all my classes and blueprints, i saw and answerhub to this question, and the first answer says this:
“To create global structs I would encourage you to just create a simple header file in your public code, then include that header in your main project header to you will be able to have access to the structs from every where. This way you have visibility in both native code and BluePrints.”
i tried to adding a simple header file from the visual studio, but i’m getting and error when i use the include file in all my classes, i think that is because i didn’t added the header file from the unreal editor using adding c++, what option i need to use to add the simple header file from the unreal editor to let the project identify my c++ header file in the right way ?
sorry if this is a noob question, but i need help.
thank you in advance for all the help.