So what’s the situation when you need to set a special image icon? Depending on your answer, you could probably do it in blueprint, or have a BlueprintImplementable function in C++ that you could implement in blueprint and call from c++
I need to write a name of image (it is material instance actually) in code and see the result in dialog screen. How can I do this BlueprintImplementable function in c++. Can you show me the code? Because I am new in UE
You can call this function anywhere in C++, but it will actually be implemented in Blueprint (so, you need to go to the child class in Blueprint and implement that function). That could be one way of accessing variables from blueprint but calling the function itself from C++.
I’m not sure if that’s what you need because I haven’t seen your code structure, but this is one way of doing things. Let me know if anything is unclear