Customizing the Unity Package
You can choose to customize and export the Braze Unity package using the provided scripts.
-
Clone the Braze Unity SDK Github project:
1
git clone git@github.com:Appboy/appboy-unity-sdk.git
- From the
appboy-unity-sdk/scripts
directory, run./generate_package.sh
to export the Unity packages.- Unity should be open while running
generate_package.sh
.
- Unity should be open while running
- The packages will be exported to
appboy-unity-sdk/unity-package/
. - In the Unity Editor, import the desired package into your Unity project by navigating to
Assets > Import Package > Custom Package
. - (Optional) Deselect any files you do not wish to import.
You can customize the exported Unity package by editing both generate_package.sh
and the export script located at Assets/Editor/Build.cs
.