/UnityAdsDemoEditor

Showcase integrate Unity Ads in Unity Editor by package.

Primary LanguageC#

UnityAdsDemoEditor

项目介绍 -- Introduction

This is a Demo project shows how to integrate Unity Ads in Unity Editor through Asset Package.

在Unity编辑器中通过导入Unity Ads SDK Package来集成Unity Ads服务的示例。

使用步骤 -- How to Use

Download the project and open it in Unity 5.x (Project created in Unity 5.6.0f1, but should compatitable to other Unity 5.x versions). Be sure to replace the GameID and ReplacementID in Configuration.cs into your own IDs on the Ads Dashboard.

下载示例工程并打开项目,将Configuration类中的GameIDReplacementID替换成您的游戏在Unity Ads开发者后台中的设置。

Open Unity Editor, switch build platform to Android or iOS in Build Settings, click run to test Unity Ads integration.

在Unity编辑器的Build Settings中选择目标平台为AndroidiOS,然后运行游戏查看Unity Ads测试视频广告。