UPROPERTY(EditAnywhere)
float Health;
You can edit it anwhere! really any where!
UPROPERTY(EditDefaultsOnly)
float Health;
You can edit it only in Detail window which in Blue Print Editor
UPROPERTY(EditInstanceOnly)
float Health;
You can only edit it in instance(UEeditor outliner)
UPROPERTY(VisibleAnywhere)
float Health;
You can only read it anywhere but can't edit it
UPROPERTY(VisibleDefaultsOnly)
float Health;
You can only read it Detail window which in Blue Print Editor and also can't edit it
UPROPERTY(VisibleInstanceOnly)
float Health;
You can only read it in instance(UEeditor outliner) and also can't edit it
UPROPERTY(EditAnywhere, BlueprintReadWrite)
float Health;
You can read and write in the Blue Print
UPROPERTY(EditAnywhere, BlueprintReadOnly)
float Health;
1.And also you can use it like this
2.This means you can edit anywher and also you can call it in Event Graph as variable
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
float RunningTime;
It makes we can access private variable type