Exemplo n.º 1
0
        void Save(ArchitectOld architect, string filename)
        {
            this.architect = architect;
            addHeader();
            addMapData();

#if !UNITY_WEBGL && !UNITY_WEBPLAYER
            System.IO.File.WriteAllText(filename, fileContent);
#endif
        }
Exemplo n.º 2
0
        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>();
 }
Exemplo n.º 4
0
 public static void SaveAll(ArchitectOld architect, string filename)
 {
     SaveWorld save = new SaveWorld();
     save.Save(architect, filename);
 }
Exemplo n.º 5
0
 void Awake()
 {
     Architect = GetComponentInParent <ArchitectOld>();
 }
Exemplo n.º 6
0
        public static void SaveAll(ArchitectOld architect, string filename)
        {
            SaveWorld save = new SaveWorld();

            save.Save(architect, filename);
        }
Exemplo n.º 7
0
 public void Awake()
 {
     architect = GetComponent <ArchitectOld>();
 }
Exemplo n.º 8
0
 void Awake()
 {
     Architect = GetComponentInParent<ArchitectOld>();
 }