public static async UniTask LoadTableAsync() { // DevでははAirTableから直接ロード // 最終的にはMemoryMasterからロード AirTableClient client = new AirTableClient("key3NNedymjZdyPup"); AirTableBase clientBase = client.GetBase("appsj9JjmBwaF3Hbz"); try { await LoadMyEnumData(clientBase); await LoadMyEnumData2(clientBase); } catch (Exception e) { Debug.LogError(e); throw; } }
private async UniTask LoadTableAsync() { AirTableClient client = new AirTableClient("key3NNedymjZdyPup"); AirTableBase clientBase = client.GetBase("applzeJ39lPimqZgv"); try { Common[] allRows = await clientBase.LoadTableAsync <Common>(); foreach (Common row in allRows) { // 1レコードずつ取り出す処理 Debug.Log(row.Name + ":" + row.Notes); } } catch (Exception e) { Debug.LogError(e); throw; } }