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

Method AddRootEngineAsset

Source/Editor/Cooker/GameCooker.cpp:356–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void CookingData::AddRootEngineAsset(const String& internalPath)
357{
358 const String path = Globals::EngineContentFolder / internalPath + ASSET_FILES_EXTENSION_WITH_DOT;
359 AssetInfo info;
360 if (Content::GetAssetInfo(path, info))
361 {
362 RootAssets.Add(info.ID);
363 }
364}
365
366void CookingData::Error(const StringView& msg)
367{

Callers 1

PerformMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected