public static bool CheckLoadOnGoto(string givenName) { string value = LevelInfo.FindOfflineProperty(givenName, "loadongoto"); if (value == null) { return(true); } bool load; if (!bool.TryParse(value, out load)) { return(true); } return(load); }
public static bool CheckLoadOnGoto(string givenName) { string value = LevelInfo.FindOfflineProperty(givenName, "loadongoto"); if (value == null) { return(true); } bool load; if (!bool.TryParse(value, out load)) { return(true); } return(load); }