Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Fire tick event with blueprints
Browse files Browse the repository at this point in the history
  • Loading branch information
ashea-code committed Feb 22, 2015
1 parent fc4bd03 commit ec54769
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Blu/Private/Blu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FBlu : public IBlu
virtual void ShutdownModule() override
{
UE_LOG(LogBlu, Log, TEXT(" STATUS: Shutdown"));
return CefShutdown();
CefShutdown();
}

};
Expand Down
6 changes: 6 additions & 0 deletions Source/Blu/Private/BluBluprintFunctionLibrary.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "BluPrivatePCH.h"
#include "BluManager.h"

UBluBlueprintFunctionLibrary::UBluBlueprintFunctionLibrary(const class FObjectInitializer& PCIP)
: Super(PCIP)
Expand All @@ -14,4 +15,9 @@ UBluEye* UBluBlueprintFunctionLibrary::NewBluEye(UObject* WorldContextObject)

return tempObject;

}

void UBluBlueprintFunctionLibrary::RunBluEventLoop()
{
BluManager::doBluMessageLoop();
}
3 changes: 3 additions & 0 deletions Source/Blu/Public/BluBlueprintFunctionLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ class BLU_API UBluBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
UFUNCTION(BlueprintPure, meta = (HidePin = "WorldContextObject", DefaultToSelf = "WorldContextObject", FriendlyName = "Create BluEye", CompactNodeTitle = "BluEye", Keywords = "new create blu eye blui"), Category = Blu)
static UBluEye* NewBluEye(UObject* WorldContextObject);

UFUNCTION(BlueprintCallable, meta = (FriendlyName = "Run BLUI Tick", Keywords = "new create blu eye blui tick"), Category = Blu)
static void RunBluEventLoop();

};

0 comments on commit ec54769

Please sign in to comment.