Creating the Unity3D Project¶
Let’s setup the Unity Project!
Prerequisites¶
- Unity3D version 4.x or above.
- An AWS Account
Obtain an Identity Pool ID using Amazon Cognito¶
- Log in to the Amazon Cognito Console and click Create new identity pool.
- Enter a name for your Identity Pool and check the checkbox to enable access to unauthenticated identities. Click Create Pool to create your identity pool.
- Click Allow to create the two default roles associated with your identity pool–one for unauthenticated users and one for authenticated users. These default roles provide your identity pool access to Cognito Sync and Mobile Analytics.
The next page displays code. Take note of the displayed Identity Pool ID and the Region you set up the Identity Pool in as you will need them when setting up Alexa Plus Unity.
Attach Polices to the Identity Pool default roles in AWS IAM¶
- Log in to the AWS IAM Console and click Roles in the left navigation bar.
- Find and click your Unauthenticated Identity Pool role. It should look similar to
Cognito_[YOUR IDENTITY POOL]Unauth_Role
. - Click Attach Policies.
- Find and check the AmazonSQSFullAccess and AmazonDynamoDBFullAccess polices.
- Click Attach Policy.
Your Identity Pool is now configured to use the required AWS services for Alexa Plus Unity to function.
Creating the project¶
Integrating the Alexa Plus Unity Package¶
- Download the
AlexaPlusUnity.unitypackage
from the Releases tab in the GitHub project.