im trying to work with c++ UI and make a inventory, but the thing is i have 3 UI’s trying to access each other and when im trying make UI’s access each other, it gives me error.
so: UI1 has to access UI2 and UI2 is need to access UI1 then UI 2 tryin to also access UI3
by my understanding, it gives me error for that.
so im wondering, i can somehow access through a component c++ to UI blueprint without needing to move UI blueprint code to c++?
You don’t need to convert the whole thing to C++; however, you would need a C++ base class created with the properties you’re trying to store so that you can access them from your blueprints.
so if i get this straight, if i make a c++ component with the variable’s that is assigned/defined as the UI’s
so like:
var1 = UI1
var2 = UI2
var3 = UI3
then i can just code the logic in c++ component and it would be fine?
or for better understanding for both me and you
if i put either ‘inventory key function’ code only to the component or put all the red marked code / variable to c++ code into a c++ component class then add it to my character.