#AWS SDK for Unity DynamoDB Sample
The AWS SDK for Unity DynamoDB uses the new UI Event System, so it requires Unity version >4.6 to run the sample.
#####Configure the DynamoDB Sample Open the HighLevelExample, LowLevelDynamoDBExample, and the TableQueryAndScanExample scenes and perform the following for each:
- Click the “HighLevel”, “LowLevel”, or “QueryAndScan” game object in "Hierarchy Pane".
- Add "Identity Pool Id" in "Inspector Pane". A pool can be created in the Cognito console.
Then in the Unity Menu go to File->Build Settings and in ‘Scenes to Build’, add the scenes in the following order
1. DynamoDbExample.unity
2. LowLevelDynamoDbExample.unity
3. TableQueryAndScanExample.unity
4. HighLevelExample.unity
This will allow you to execute all the operation as a single game.
- The project will create 4 tables - ProductCatalog, Forum, Thread & Reply. Make sure that these tables are not already present. You can check the tables at the DynamoDB console.
#####Run the sample scene
- Open the DynamoDbExample.unity scene.
- Click the “Run” button