C++ Interfaces Accessible In blueprints
To create a c++ interface, add a new c++ class and under common classes select Unreal Interface
This generates two classes U<ClassName> and I<ClassName>
You put your virtual functions in the I<ClassName>
<syntaxhighlight lang="cpp">
// This class does not need to be modified. UINTERFACE(MinimalAPI) class UInoWeaponInterface : public UInterface { GENERATED_BODY() };
/**
* */
class ININO0_API IInoWeaponInterface { GENERATED_BODY()
// Add interface functions to this class. This is the class that will be inherited to implement this interface. public: virtual bool ShootWeapon(); };
</syntaxhighlight>