public static void LoadOverrides() { if (PlayerPrefs.HasKey("player_input")) { Load(player.asset, Overrides.FromJSON(PlayerPrefs.GetString("player_input"))); } if (PlayerPrefs.HasKey("gun_input")) { Load(gun.asset, Overrides.FromJSON(PlayerPrefs.GetString("gun_input"))); } }