testT
This commit is contained in:
@@ -47,6 +47,13 @@ int32_t PrefabChildParser::onParse(
|
||||
auto ret = (PrefabChildParser()).parse(c, &child, error);
|
||||
if(ret != 0) return ret;
|
||||
out->children.push_back(child);
|
||||
|
||||
} else if(c->node == "asset") {
|
||||
struct PrefabAsset asset;
|
||||
auto ret = (PrefabAssetParser()).parse(c, &asset, error);
|
||||
if(ret != 0) return ret;
|
||||
out->assets.push_back(asset);
|
||||
|
||||
} else {
|
||||
struct PrefabComponent component;
|
||||
component.registry = out->registry;
|
||||
|
Reference in New Issue
Block a user