public static T readJson <T>(e_Paths path) { Debug.Log("PATH: " + getPath(path)); T json = JsonUtility.FromJson <T> (File.ReadAllText(getPath(path))); return(json); }
public static string getPath(e_Paths path) { return(paths[(int)path]); }