public ISlotObjectPersistable Load() { try { return((ItemBar)SerializationController.Deserialize(PrefabRepository.PersistItemBarName + ".txt")); } catch (Exception e) { return(null); } }
public static World LoadMap(string map, int seed) { try { Debug.Log("Load World"); World world = (World)SerializationController.Deserialize(map + "_" + seed + ".txt"); return(world); } catch (Exception ex) { return(null); } }