public override void Save() { this.playerData.name = this.playerNameField.text; this.playerData.currentHealth = this.playerCurrentHealthSlider.value; SaveSystemAPI.SaveAsync(this.identifierField.text, this.playerData); Debug.Log("Player data saved successfully"); }
public virtual void Save() { GameObject[] gameObjects = new GameObject[this.autoSaves.Count]; for (int i = 0; i < this.autoSaves.Count; i++) { if (this.autoSaves[i] == null) { continue; } gameObjects[i] = this.autoSaves[i].gameObject; } SaveSystemAPI.SaveAsync(this.identifier, gameObjects, this.settingsPreset.CustomSettings); }
public override void Save() { SaveSystemAPI.SaveAsync(this.identifierField.text, this.cube.transform); }
public override void Save() { SaveSystemAPI.SaveAsync(this.identifierField.text, this.spawnedInstances); Debug.Log("Data saved successfully"); }
public static void Save <T>(string identifier, T value) { SaveSystemAPI.SaveAsync(identifier, value); }
public async void SaveDictionary() { await SaveSystemAPI.SaveAsync("gamno.txt", integers); }
public override void Save() { SaveSystemAPI.SaveAsync(this.identifierField.text, this.dataField.text); }