private void LoadDataConfig() { TextAsset config = Resources.Load<TextAsset>("data"); _dataConfig = JsonUtility.FromJson<Data>(config.text); Debug.Log("Data config loaded"); }