MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / unload

Method unload

Source/Engine/AI/BehaviorTree.cpp:295–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void BehaviorTree::unload(bool isReloading)
296{
297#if USE_EDITOR
298 Level::ScriptsReloadStart.Unbind<BehaviorTree, &BehaviorTree::OnScriptsReloadStart>(this);
299 Level::ScriptsReloadEnd.Unbind<BehaviorTree, &BehaviorTree::OnScriptsReloadEnd>(this);
300#endif
301
302 // Clear resources
303 Graph.Clear();
304}
305
306AssetChunksFlag BehaviorTree::getChunksToPreload() const
307{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected