public void LoadSlaveMaker(string path) { try { FileStream stream = new FileStream(Path.Combine(path, "SlaveMaker.xml"), FileMode.Open); XmlSerializer xmlSerializer = new XmlSerializer(typeof(SM4SlaveMaker)); slaveMaker = xmlSerializer.Deserialize(stream) as SM4SlaveMaker; stream.Close(); } catch { ErrorLogger.LogErrorInFile("Error in SlaveContainer Load with " + path.ToString() + "/SlaveMaker.xml"); } finally { } }
private void Start() { sm = SM4SlaveMakerControler.instance.slaveMaker; smAvatarUpdate(); }
public void SaveToAutosave(SM4SlaveMaker slaveMaker) { }