private void Start() { if (!File.Exists(Path)) { return; } using (JsonReader file = new JsonTextReader(File.OpenText(Path))) { Debug.Log("Reading config..."); var config = new JsonSerializer().Deserialize <Dictionary <string, string> >(file); carAI.Configure(config); neatManager.Configure(config); Debug.Log("Config has been read!"); } }