diff --git a/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h b/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h index 982f2374b7455e2b2641b62cbd3ebbf3f9b73934..a5676cf3af68763dd26aeb021ebe7962d54a96b9 100644 --- a/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h +++ b/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h @@ -20,23 +20,26 @@ public: 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(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void VisitNextPointOfInterest(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void VisitPreviousPointOfInterest(); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") void VisitPointOfInterestByIndex(int index); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") void VisitPointOfInterest(APointOfInterest* POI) const; - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void StartCameraRide(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void StopCameraRide(); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") int GetPointOfInterestCount(); protected: @@ -46,7 +49,7 @@ protected: int CurrentPOIIndex = 0; private: - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void UpdateSpline(); void ProgressCameraRide();