This repository contains the the C# interface and native Unity functionality for the Unity plugins derived from the Braze Android and iOS SDKs. Since version 1.5.0, Braze's Unity plugins require Unity 5. See the CHANGELOG for more information.
Before you can start using Braze in Unity scripts, you'll need to import the plugin files to your Unity project.
Recommended: The Android and iOS plugins are bundled as a Unity package available for download from the SDK release page.
Manual Plugin Setup: Alternatively, you can copy the plugins into your Unity project:
- First, clone this repo.
- If you're not using any other plugins, all you have to do is copy the
Plugins
directory from this repo into theAssets
folder of your Unity project. - If you already have a
/<your-project>/Assets/Plugins
directory (probably because you're using another plugin already), copyPlugins/Appboy/AppboyBinding.cs
into/<your-project>/Assets/Plugins
. Then copy the contents ofPlugins/iOS
andPlugins/Android
from this repo into/<your-project>/Assets/Plugins/iOS
and/<your-project>/Assets/Plugins/Android
respectively.
To integrate Braze into your Android Unity application, complete our Android Unity integration instructions.
To integrate Braze into your iOS Unity application, complete our iOS Unity integration instructions.