# BlackBox Unity SDK

## Overview

This guide explains how to integrate the AccelByte Development Toolkit (ADT) SDK into your Unity project. Make sure you already have a [registered build](https://docs.accelbyte.io/development-toolkit/getting-started-guides/first-steps-integrate-blackbox-into-unreal-project/create-versions-register-builds/).

## Supported Unity Version

- [x] 2019.3
- [x] 2021.x    (_Recommended minimum version_)
- [x] 2022.x
- [x] Unity 6

## Installation

1. Download and extract _com.accelbyte.blackbox.zip_ file and put in any directory you want (recommended to use 7zip for extracting the file)
2. Create a new Unity project or open an existing one
3. From the extracted zip file, move/cut directory `BlackBox` and all of its contents into `{YOUR_GAME_PROJECT}/Assets/StreamingAssets` (_create the StreamingAssets directory manually if not exists_)
4. Select `Window --> Package Manager`
5. Click `+` icon in the top left of the Package Manager window
6. Select `Install package from disk...` or `Add package from disk...`
7. Go to the _com.accelbyte.blackbox_ extracted folder and choose the `package.json` file inside it
8. After importing the package is done, the `BlackBox` button will appear at the top of the Editor window
9. Select `BlackBox --> Properties` button at the top of the Editor window
10. Fill in all of the value. You can grab the values from the build that you have registered before. To register a build, go to this [guide](https://docs.accelbyte.io/development-toolkit/getting-started-guides/first-steps-integrate-blackbox-into-unreal-project/create-versions-register-builds/).
11. Click `Save Config`

## Usage

[Test Crash Reporter](TODO:LINK)

[Test Issue Reporter](TODO:LINK)

## Dependencies

- [ini-parser](https://github.com/rickyah/ini-parser)

## Documentations

[Official Documentation Page](https://docs.accelbyte.io/development-toolkit/getting-started-guides/)
