void Save(ArchitectOld architect, string filename) { this.architect = architect; addHeader(); addMapData(); #if !UNITY_WEBGL && !UNITY_WEBPLAYER System.IO.File.WriteAllText(filename, fileContent); #endif }
public void Awake() { architect = GetComponent<ArchitectOld>(); }
public static void SaveAll(ArchitectOld architect, string filename) { SaveWorld save = new SaveWorld(); save.Save(architect, filename); }
void Awake() { Architect = GetComponentInParent <ArchitectOld>(); }
public void Awake() { architect = GetComponent <ArchitectOld>(); }
void Awake() { Architect = GetComponentInParent<ArchitectOld>(); }