Skip to content

Commit

Permalink
更新最小webgl本地安装版本为2021.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pirunxi committed Jan 5, 2024
1 parent 9f6ae8c commit c0a7632
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/basic/buildwebgl.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
由于WebGL平台有较多特殊性,故特地单独文档介绍如何发布WebGL平台。本文档在 hybridclr_trial项目([github](https://github.com/focus-creative-games/hybridclr_trial) [gitee](https://gitee.com/focus-creative-games/hybridclr_trial) )上演示发布过程。

:::tip
从Unity 2021.3.5+、2022.3.0+版本起,不再需要全局安装,也就是webgl平台的构建过程与其他平台完全相同。
从Unity 2021.3.4+、2022.3.0+版本起,不再需要全局安装,也就是webgl平台的构建过程与其他平台完全相同。
:::

## 使用的版本
Expand All @@ -22,15 +22,15 @@

- 确保Unity Editor 安装了WebGL模块,如下图
- 根据 [install](install.md) 文档完成HybridCLR安装及设置
- 在HybridCLRSettings中,开启`Use Global Il2cpp` 选项,因为webgl平台只支持全局安装。从2021.3.5+、2022.3.0+起,**不再需要**开启此选项
- 在HybridCLRSettings中,开启`Use Global Il2cpp` 选项,因为webgl平台只支持全局安装。从2021.3.4+、2022.3.0+起,**不再需要**开启此选项


![select_il2cpp_module_webgl](/img/hybridclr/select_il2cpp_modules_webgl.jpg)

## 建立 Editor目录的libil2cpp到本地libil2cpp目录的软(硬)引用

:::warning
注意:从Unity 2021.3.5+、2022.3.0+版本起,由于支持本地安装,不再需要建立此引用。
注意:从Unity 2021.3.4+、2022.3.0+版本起,由于支持本地安装,不再需要建立此引用。
:::

:::tip
Expand Down
4 changes: 2 additions & 2 deletions docs/basic/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ hybridclr仓库推荐填写`1.0`,即每次安装1.0分支的最新版本;il2
### WebGL平台

:::tip
从Unity 2021.3.5+、2022.3.0+版本起已经支持本地安装,WebGL平台构建过程与其他平台完全相同
从Unity 2021.3.4+、2022.3.0+版本起已经支持本地安装,WebGL平台构建过程与其他平台完全相同
:::

由于Unity自身原因,如果使用的于Unity版本低于2021.3.5,构建WebGL平台必须全局安装。 请查阅下面章节的`全局安装`文档。
由于Unity自身原因,如果使用的于Unity版本低于2021.3.4,构建WebGL平台必须全局安装。 请查阅下面章节的`全局安装`文档。


### Unity 2021
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Due to the particularity of the WebGL platform, a separate document introduces how to release the WebGL platform. This document is published on the hybridclr_trial project ([github](https://focus-creative-games/hybridclr_trial) [gitee](https://gitee.com/focus-creative-games/hybridclr_trial) ) process.

:::tip
Starting from Unity 2021.3.5+ and 2022.3.0+ versions, global installation is no longer required, that is, the construction process of the webgl platform is exactly the same as other platforms.
Starting from Unity 2021.3.4+ and 2022.3.0+ versions, global installation is no longer required, that is, the construction process of the webgl platform is exactly the same as other platforms.
:::

## version used
Expand All @@ -22,15 +22,15 @@ Beginners, please at least read the [Quick Start](../beginner/quickstart.md) doc

- Make sure that the WebGL module is installed in Unity Editor, as shown below
- Complete HybridCLR installation and configuration according to [install](install.md) document
- In HybridCLRSettings, enable the `Use Global Il2cpp` option because the webgl platform only supports global installation. From 2021.3.5+, 2022.3.0+, it is no longer necessary to turn this option on
- In HybridCLRSettings, enable the `Use Global Il2cpp` option because the webgl platform only supports global installation. From 2021.3.4+, 2022.3.0+, it is no longer necessary to turn this option on


![select_il2cpp_module_webgl](/img/hybridclr/select_il2cpp_modules_webgl.jpg)

## Create a soft (hard) reference from libil2cpp in the Editor directory to the local libil2cpp directory

:::warning
Note: Starting from Unity 2021.3.5+ and 2022.3.0+ versions, since local installation is supported, it is no longer necessary to establish this reference.
Note: Starting from Unity 2021.3.4+ and 2022.3.0+ versions, since local installation is supported, it is no longer necessary to establish this reference.
:::

### Win platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ If the automated installation cannot be completed due to various special reasons
### WebGL Platform

:::tip
Local installation has been supported since Unity 2021.3.5+ and 2022.3.0+ versions, and the WebGL platform construction process is exactly the same as other platforms.
Local installation has been supported since Unity 2021.3.4+ and 2022.3.0+ versions, and the WebGL platform construction process is exactly the same as other platforms.
:::

Due to Unity's own reasons, if the Unity version used is lower than 2021.3.5, the WebGL platform must be installed globally. Please consult the `Global Installation` documentation in the following section.
Due to Unity's own reasons, if the Unity version used is lower than 2021.3.4, the WebGL platform must be installed globally. Please consult the `Global Installation` documentation in the following section.

###Unity 2021

Expand Down

0 comments on commit c0a7632

Please sign in to comment.