public class WeaponMap : ScriptableObject
{
[SerializeField]
private Dictionary<string, WeaponData> map = new Dictionary<string, WeaponData>();
public WeaponData Get(string name) => map[name];
public void Set(string name, WeaponData data)
{
map.Add(name, data);
}
}