Advertisement
KTVX94

OurPlayerController.h

Oct 16th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.67 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "Engine.h"
  4. #include "MyCharacterPlayer.h" //esto lo revolee a ver que pasaba y no funca
  5. #include "GameFramework/PlayerController.h"
  6. #include "OurPlayerController.generated.h"
  7.  
  8. class AMycharacterPlayer;
  9.  
  10. /**
  11.  *
  12.  */
  13. UCLASS()
  14. class PROGMOTPARCIAL1_API AOurPlayerController : public APlayerController
  15. {
  16.     GENERATED_BODY()
  17.    
  18. public:
  19.     UPROPERTY(EditAnywhere, BlueprintReadWrite)
  20.         TSubclassOf<class UUserWidget> widgetMenu;
  21.  
  22.     //UPROPERTY(EditAnywhere, BlueprintReadWrite)
  23.         AMyCharacterPlayer * mainCharacter;
  24.         //Probe MyCharacterPlayer
  25.         //Probe AMyCharacterPlayer sin *
  26.  
  27.     UUserWidget * menu;
  28.  
  29.     virtual void BeginPlay() override;
  30.    
  31.    
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement