运行Unity Project Tiny 的示例

我想在抖音或facebook上发布小游戏。2013年简单的做过unity,时隔多年。

我发现有两个选择,一是instant game,二是 project tiny,都是可以发布webgl版本。我认为的他们的区别:

tiny:
国外团队开发,特点是使用ecs dots来减小体积(和提高运行速度)。
可以运行在2020版本unity,16个月没有更新了

instant:
国内团队开发,适配抖音 头条几个国内app的小游戏开发
只运行在unity2019的几个特定版本,今年有更新。
使用autostreaming来从网络下载数据,减小包大小。
 

GitHub - Unity-Technologies/ProjectTinySamples: Samples for Project Tiny

下载demo,demo用的是2020.1.17f1。

在浏览器输入 unityhub://2020.1.17f1/9957aee8edc2 即可安装。

打开项目,在project面板,进入Asset->Build,点击Asmjs,然后在Inspetor面板点build即可。

 包太大了。不知道instantgame如何。

 

都打算提问了的,突然发现了方法

  1.  I downloaded project from https://github.com/Unity-Technologies/ProjectTinySamples(Date 2022/5/5)
  2. Open project "Tiny3D" with unity 2020.1.17 .
  3. Click File -> build and run then saw errors like "The name 'GameSaveNativeCalls' does not exist "
  4. Click Project panel, Build -> DOTS Runtime Build Configuration, click "build and run" at inspector, got error "ArgumentException: No DotsRuntimeRootAssembly component specified. Please make sure your build configuration specifies one."
  5. I checked the document, It said "Added with 0.25, you can now use Build & Run (from the Build Configuration inspector) for Web builds:", but I didn't see anything similar as the picture in the document.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值