Closed w772007846 closed 10 months ago
Thanks for the report. @heroiclabs/devrel can you take a look and update the docs? 🙏
@w772007846 Please can you let me know what the specific issue is here and we will look into getting it resolved. Thanks.
I'm going to close this issue as I'm unable to determine what change is being proposed here. @w772007846 if you feel this is a mistake please create a new issue with a detailed explanation of the problem and what you think should be fixed. Please also include a link to the part of the docs website that you feel is incorrect.
public class HatsStorageObject { public string[] Hats; }
**var readObjectId = new StorageObjectId { Collection = "Unlocks", Key = "Hats", UserId = session.UserId };
var result = await client.ReadStorageObjectsAsync(session, readObjectId);**
if (result.Objects.Any()) { var storageObject = result.Objects.First(); var unlockedHats = JsonParser.FromJson(storageObject.Value);
Debug.LogFormat("Unlocked hats: {0}", string.Join(",", unlockedHats.Hats));
}