Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/MLAdapterAsync.h |
Include |
#include "MLAdapterAsync.h" |
template<typename RetType>
RetType CallOnGameThread
(
TFunction< RetType()> InFunction
)
Sends InFunction to be called on the GameThread and waits for the result