static object LoadProjectile(MiniYaml yaml) { MiniYaml proj; if (!yaml.ToDictionary().TryGetValue("Projectile", out proj)) return null; var ret = Game.CreateObject<IProjectileInfo>(proj.Value + "Info"); FieldLoader.Load(ret, proj); return ret; }