October 2016
Intermediate to advanced
452 pages
9h 47m
English
Ensure that you've followed the previous recipe in order to have a UInterface ready to be implemented.
Actor class using the Unreal Wizard, called SingleInterfaceActor.IInterface—in this case, IMyInterface—to the public inheritance list for our new Actor class:class UE4COOKBOOK_API ASingleInterfaceActor : public AActor, public IMyInterface
override declaration to the class for the IInterface function(s) that we wish to override:FStringGetTestName() override;
FStringASingleInterfaceActor::GetTestName()
{
return IMyInterface::GetTestName();
}Read now
Unlock full access