Add support for custom asset type factory in game code

This commit is contained in:
Wojtek Figat
2021-04-15 16:55:03 +02:00
parent 653cdd8654
commit a9ec4566e7
8 changed files with 11 additions and 11 deletions

View File

@@ -176,7 +176,7 @@ void JsonAssetBase::onRename(const StringView& newPath)
#endif
REGISTER_JSON_ASSET(JsonAsset, "FlaxEngine.JsonAsset");
REGISTER_JSON_ASSET(JsonAsset, "FlaxEngine.JsonAsset", true);
JsonAsset::JsonAsset(const SpawnParams& params, const AssetInfo* info)
: JsonAssetBase(params, info)