public static Dictionary <string, string> LoadConfigAsDictAbsolute(string configPath, bool validate)
 {
     return(JSONManager.LoadObject <Dictionary <string, string> >(configPath, validate));
 }
Esempio n. 2
0
 public T LoadLevelFromFileAbsolute <T>(string levelPath) where T : Level
 {
     return(JSONManager.LoadObject <T>(levelPath));
 }
 public static Dictionary <string, string> LoadConfigAsDict(string configName, bool validate)
 {
     return(JSONManager.LoadObject <Dictionary <string, string> >(GameConfigFolderPath + configName, validate));
 }
Esempio n. 4
0
 public T LoadLevelFromFile <T>(string levelName) where T : Level
 {
     return(JSONManager.LoadObject <T>(LevelsPath + levelName));
 }