zeOrb
(zeOrb)
1
I’m trying to access these events in BP, but I can’t find any of this Events in BP, am I missing something?
Simple mockup:
ASystem.h
UCLASS()
class ORB_API ASystem: public AGameMode
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent)
void Foo();
UFUNCTION(BlueprintNativeEvent)
uint8 Bar();
}
ASystem.cpp
void ASystem::Foo_Implementation()
{
}
uint8 ASystem::Bar_Implementation()
{
return 1;
}
zeOrb
(zeOrb)
2
Seems like this code does not work due to some bug/glitch with hot reload.
Everything was fixed after Regeneration and rebuilding project
Xarol
(Xarol)
3
I verified this issue on UE 4.7.5 in level blueprint. Event was not showing up until I closed and reopened the UE4 editor.
Thanks for the tip,
-X
Same here. UE 4.7.6, once I closed and reopened the editor my event became available in the blueprint.