Skip to content
Snippets Groups Projects
Commit 6c9cd072 authored by Kris Tabea Helwig's avatar Kris Tabea Helwig
Browse files

Made some members blueprintable

parent c24fe986
No related branches found
No related tags found
1 merge request!1Implements `PointOfInterest`s
...@@ -20,23 +20,26 @@ public: ...@@ -20,23 +20,26 @@ public:
virtual void TickActor(float DeltaTime, enum ELevelTick TickType, FActorTickFunction& ThisTickFunction) override; virtual void TickActor(float DeltaTime, enum ELevelTick TickType, FActorTickFunction& ThisTickFunction) override;
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void AddPointOfInterest(); void AddPointOfInterest();
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void VisitNextPointOfInterest(); void VisitNextPointOfInterest();
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void VisitPreviousPointOfInterest(); void VisitPreviousPointOfInterest();
UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager")
void VisitPointOfInterestByIndex(int index); void VisitPointOfInterestByIndex(int index);
UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager")
void VisitPointOfInterest(APointOfInterest* POI) const; void VisitPointOfInterest(APointOfInterest* POI) const;
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void StartCameraRide(); void StartCameraRide();
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void StopCameraRide(); void StopCameraRide();
UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager")
int GetPointOfInterestCount(); int GetPointOfInterestCount();
protected: protected:
...@@ -46,7 +49,7 @@ protected: ...@@ -46,7 +49,7 @@ protected:
int CurrentPOIIndex = 0; int CurrentPOIIndex = 0;
private: private:
UFUNCTION(CallInEditor, Category="Point Of Interest Manager") UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager")
void UpdateSpline(); void UpdateSpline();
void ProgressCameraRide(); void ProgressCameraRide();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment