October 2016
Intermediate to advanced
452 pages
9h 47m
English
Being able to define UInterface methods in C++ is great, but they should be accessible from Blueprint too. Otherwise, designers or others who are using Blueprint won't be able to interact with your UInterface. This recipe shows you how to make a function from an interface callable within the Blueprint system.
UInterface called UPostBeginPlay/IPostBeginPlay.virtual method to IPostBeginPlay:UFUNCTION(BlueprintCallable, Category=Test) virtual void OnPostBeginPlay();
voidIPostBeginPlay::OnPostBeginPlay()
{
GEngine->AddOnScreenDebugMessage(-1, 1, FColor::Red, "PostBeginPlay called");
}Actor ...Read now
Unlock full access