Hello, i’m working in a game and i’m using c++ and blueprints, i have some base classes that i wrote in c++ and i’m using them as the parent class of my blueprints.
i have put in c++ some variables that i need to modify in the blueprint editor, but they are just gray, i can change the value in the blueprint graph with a set node, but i cant set the default value in the blueprint editor, why this is happening ?
here is the code that i’m using to declare my variables in c++
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Guns")
float spread;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Guns")
int32 ProjectilexShot;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Guns")
float FireRate;
is there something wrong ? i missed something there ?
thanks in advance for the help.
p.s.: by the way i’m using ue 4.10.4.