public virtual async void CreateDummyItems() { for (int i = 0; i < this.dummyItems.Length; i++) { await SaveSystemAPI.WriteAllTextAsync(this.dummyItems[i], "Sample text data"); Debug.LogFormat("Created dummy item with identifier: {0}", this.dummyItems[i]); } }
public override void Save() { SaveSystemAPI.WriteAllTextAsync(this.identifierField.text, this.dataField.text); // You can use SaveSystemAPI.WriteAllBytes for writting raw binary data }