Blueprint setted variable didn't set in C++
Hello everyone! So, about the problem. I has variable that declared in C++ code, below you can see it.
Then, i set value in Blueprint Defaults or just set with Set node (Blueprint child of C++). After that i trying to call from Blueprint function that also decared in C++, and that function used variable above. But instead of using setted blueprint value, its used internal C++.
How can i set that value in Blueprint and let that work in C++ with Blueprint value setted in? I dont want to create&transfer each call value from BP direct to function. Like that:
And looks like a found the problem. Problem was in C++ Variables where i tried to write in it.
If you want to write from Blueprint var to C++ you may sure ALL youre vars that working with it has UPROPERY() with or without BlueprintReadWrite.
Follow this question
Once you sign in you will be able to subscribe for any updates here