public async Task GetLayoutHashtag() { var layout = await EntryLayout.GetLayoutHashtagAsync(Helper.Client, Helper.Kind, "yurucamp") .ConfigureAwait(false); if (layout.Undeserialized != null) { throw new JsonException("Undeserialized is not empty"); } var json = JsonSerializer.Serialize(layout, Core.Options); }
void Awake() { if (Managers.Instance.IsPhone) { mode = EntryMode.Lista; layout = listLayout; grillaLayout.area.SetActive(false); GetComponent <RectTransform>().sizeDelta = new Vector2(0, 120); } else { mode = EntryMode.Grilla; layout = grillaLayout; listLayout.area.SetActive(false); } }