https://github.com/gameframex/com.gameframex.unity.advertisement.douyinminigame
抖音小游戏的广告组件
https://github.com/gameframex/com.gameframex.unity.advertisement.douyinminigame
Last synced: 5 months ago
JSON representation
抖音小游戏的广告组件
- Host: GitHub
- URL: https://github.com/gameframex/com.gameframex.unity.advertisement.douyinminigame
- Owner: GameFrameX
- License: apache-2.0
- Created: 2024-06-18T12:51:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T11:23:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T18:51:07.627Z (over 1 year ago)
- Language: C#
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 基于`抖音SDK` 的二次封装
该库主要服务于 `https://github.com/AlianBlank/GameFrameX` 作为子库使用。
# 注意
抖音官方的SDK不支持激励广告的播放成功和失败的回调.因为源码没有实现.
# 使用主包进行使用。
该包是广告播放的子组件。不对外开放接口。请使用主包使用 `com.gameframex.unity.advertisement` github : https://github.com/AlianBlank/com.gameframex.unity.advertisement
# 使用方式(三种方式)
1. 直接在 `manifest.json` 文件中添加以下内容
```json
{"com.gameframex.unity.advertisement.douyinminigame": "https://github.com/AlianBlank/com.gameframex.unity.advertisement.douyinminigame.git"}
```
2. 在Unity 的`Packages Manager` 中使用`Git URL` 的方式添加库,地址为:https://github.com/AlianBlank/com.gameframex.unity.advertisement.douyinminigame.git
3. 直接下载仓库放置到Unity 项目的`Packages` 目录下。会自动加载识别
# 改动功能
1. 增加 `GameFrameXAdvertisementDouYinMiniGameCroppingHelper` 防裁剪脚本