You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RegistryFactory registryFactory = new RegistryFactory(new List<IInstaller>() {
{ new YamlInstaller<Stat, StatData>((Resources.Load("example03/stats") as TextAsset).text) },
{ new YamlInstaller<Resource, ResourceData>((Resources.Load("example03/resources") as TextAsset).text) },
{ new YamlInstaller<Modifier, ModifierData>((Resources.Load("example03/modifiers") as TextAsset).text) },
});
Should work with
RegistryFactory registryFactory = new RegistryFactory(new YamlInstaller<Stat, StatData>((Resources.Load("example03/stats") as TextAsset).text));
The text was updated successfully, but these errors were encountered:
Should work with
The text was updated successfully, but these errors were encountered: