Hi everyone,
I’m currently working with Unreal Engine (version 5.6.0) and the Pixel Streaming plugin v2. I’m trying to handle messages sent from the browser using emitUIInteraction()
directly in my C++ code, but I can’t figure out how to receive and process them.
In previous versions of the plugin, it was enough to bind to the OnInputEvent
event of UPixelStreamingInput
PixelStreamingInput = CreateDefaultSubobject<UPixelStreamingInput>(TEXT("PixelStreamingInput"));
PixelStreamingInput->OnInputEvent.AddDynamic(this, &APixelStreamingController::OnInputMessage);
Any help or code snippet would be much appreciated!
Thanks in advance.