Add the SDKΒΆ

The Unity Age Gate SDK is built as an Unity Package in order to work together with the Android and iOS native SDKs so that you can harness the full power of native components for a better overall experience.

To begin integrating the SDK:

First download the latest Unity Age Gate SDK: SAAgeGateSDK-1.0.1.Unity.unitypackage.

You can then import it into your Unity project as a custom assets package.

You should see an image similar to this:


Select all the files, and click Import. If all goes well you should have a series of new folders and files in your Assets directory.


Once you’ve integrated the SDK, you can access it by:

using tv.superawesome.sdk.agegate.*;


When exporting for iOS as an XCode project, you’ll need to add the following flag to Other linker flags in Build Settings: -ObjC