Hello,
I’ve created class derived from UUserWidget.
(This tutorial A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums. )
Class contains an BlueprintCallable function and BlueprintReadOnly variable.
Do you know how to make function that can be called in blueprint, because this one doesn’t show in an editor?
The variable works fine inside the blueprint.
Here is my header code:
UCLASS()
class TTT_API UTestWidget : public UUserWidget
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category = "HUD")
void Fxoo();
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "HUD")
int32 x;
};