1

I want to start to play the current level in a UE5 plugin, just like press the "Play" button on the toolbar. I've created a plugin based on the "Editor Toolbar Button" template, but I can't find APIs related to Play or Stop the current level.

Any helpful discussions or suggestions are welcome, thanks in advance.

Sang
  • 141
  • 11
  • Have you tried using `UEditorEngine::RequestPlaySession(const FRequestPlaySessionParams& InParams)` and `UEditorEngine::TeardownPlaySession(FWorldContext& PieWorldContext)`? – Max Play Feb 23 '23 at 15:03

0 Answers0