该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。
抖音官方的SDK不支持激励广告的播放成功和失败的回调.因为源码没有实现.
该包是广告播放的子组件。不对外开放接口。请使用主包使用 com.gameframex.unity.advertisement github : https://github.com/AlianBlank/com.gameframex.unity.advertisement
-
直接在
manifest.json文件中添加以下内容{"com.gameframex.unity.advertisement.douyinminigame": "https://github.com/AlianBlank/com.gameframex.unity.advertisement.douyinminigame.git"} -
在Unity 的
Packages Manager中使用Git URL的方式添加库,地址为:https://github.com/AlianBlank/com.gameframex.unity.advertisement.douyinminigame.git -
直接下载仓库放置到Unity 项目的
Packages目录下。会自动加载识别
- 增加
GameFrameXAdvertisementDouYinMiniGameCroppingHelper防裁剪脚本