Entity progress

This commit is contained in:
YourWishes committed 2023-03-30 21:43:13 -07:00
1 parent 48cf9d1584
commit ec075f0035
16 files changed
+192 -53

No files matched your search

@@ -59,6 +59,8 @@ int32_t PrefabComponentParser::onParse(
parser = vec3Parser;
} else if(type == "int32_t" || type == "int") {
parser = intParser;
} else if(type.starts_with("enum")) {
parser = rawParser;
} else if(type.find("*") == (type.size() - 1)) {
type = type.substr(0, type.size() - 1);
parser = rawParser;
@@ -66,7 +68,7 @@ int32_t PrefabComponentParser::onParse(
name = name.substr(1, name.size());
parser = rawParser;
} else {
*error = "Unkown parser for type: " + type + "::" + name;
*error = "Unknown parser for type: " + type + "::" + name;
return 1;
}