Advertisement
KTVX94

OurUserWIdget.h

Oct 17th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. #include "Engine.h"
  2. #include "Blueprint/UserWidget.h"
  3. #include "OurUserWidget.generated.h"
  4.  
  5. /**
  6.  *
  7.  */
  8. UCLASS()
  9. class PROGMOTPARCIAL1_API UOurUserWidget : public UUserWidget
  10. {
  11.     GENERATED_BODY()
  12.    
  13. public:
  14.     UPROPERTY(EditAnywhere, BlueprintReadWrite)
  15.         FString myText;
  16.  
  17.     UFUNCTION(BlueprintCallable)
  18.         void ClickButtonForLoadScene();
  19.     virtual void NativeTick(const FGeometry& MyGeometry, float InDeltaTime) override;
  20.  
  21.     float hitPoints;
  22.  
  23.     FString currentLevel;
  24.  
  25.     FString nextLevel;
  26.    
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement