Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FCompilerManager
Description
Compile the public and internal steps of a state tree asset only if the editor data changed. It will compile all the pending state tree asset dependencies if they are queued.
Can only compile on the game thread or async loading thread.
| Name | CompileIfNeededSynchronously |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeCompilerManager.h |
| Include Path | #include "StateTreeCompilerManager.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeCompilerManager.cpp |
static TOptional < bool > CompileIfNeededSynchronously
(
TNotNull< UStateTree * > StateTree
)
whether the compilation succeeded or failed. The optional is not set if a compilation was not necessary.