This guide is intended for publishers who want to integrate the Anti-Addiction system.
For games released in China, one of the rules that must be followed is real-name authentication before playing and a limit on how long minors can play.
# Prerequisites
Using this sdk, you can easily implement this feature.
The AntiAddictionSystem Unity plugin is distributed with the Unity [Play Services Resolver library](https://github.com/googlesamples/unity-jar-resolver). This library is intended for use by any Unity plugin that requires access to Android specific libraries (e.g., AARs) or iOS CocoaPods. It provides Unity plugins the ability to declare dependencies, which are then automatically resolved and copied into your Unity project.
The AntiAddictionSystem Unity plugin enables Unity developers to easily serve AntiAddictionSystemSDK on Android and iOS apps without having to write Java or Objective-C code. The plugin provides a C# interface for requesting ads that is used by C# scripts in your Unity project.
# Detailed Steps
Use the links below to download the Unity package for the plugin or to take a look at its code on GitHub.
#### 1. Download the Plugin
[Download the Plugin](http://59.110.70.54/ZAnti-Addiction/ZAnti-Addiction-Unity/blob/master/ZAnti-AddictionSDK.unitypackage)
[Download the Plugin](http://59.110.70.54/ZAnti-Addiction/ZAnti-Addiction-Unity/blob/master/ZAnti-AddictionSDK.unitypackage)
Or use the `ZAnti-AddictionSDK.unitypackage` file within the project
Or use the `ZAnti-AddictionSDK.unitypackage` file within the project
## Import the AntiAddictionSystem Unity plugin
#### Import plugin
Open your project in the Unity editor.
Open your project in the Unity editor.
Select Assets > Import Package > Custom Package and find the AntiAddictionSystem.unitypackage file you downloaded.
Select Assets > Import Package > Custom Package and find the ZAnti-AddictionSDK.unitypackage file you downloaded.
<imgsrc='resources/add_custom_package.png'>
Make sure all of the files are selected and click Import.
The AntiAddictionSystem Unity plugin is distributed with the Unity [Play Services Resolver library](https://github.com/googlesamples/unity-jar-resolver). This library is intended for use by any Unity plugin that requires access to Android specific libraries (e.g., AARs) or iOS CocoaPods. It provides Unity plugins the ability to declare dependencies, which are then automatically resolved and copied into your Unity project.
Import
Follow the steps listed below to ensure your project includes the Atmosplay Ads SDK.