Skip to content

Commit 73e7e51

Browse files
AlianBlankclaude
andcommitted
docs: 统一 Installation 章节为标准 4 种安装方式
依据 GameFrameX Installation 规范,所有 README 的 Installation 章节 必须包含 4 种安装方式:scopedRegistries / manifest.json / Git URL / Manual。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 33c3814 commit 73e7e51

5 files changed

Lines changed: 150 additions & 0 deletions

File tree

README.ja.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,36 @@
2929

3030
### インストール
3131

32+
以下のいずれかの方法を選択してください:
33+
34+
1. Unity プロジェクトの `Packages/manifest.json` を編集し、`scopedRegistries` セクションを追加してください:
35+
```json
36+
{
37+
"scopedRegistries": [
38+
{
39+
"name": "GameFrameX",
40+
"url": "https://gameframex.upm.alianblank.uk",
41+
"scopes": [
42+
"com.gameframex"
43+
]
44+
}
45+
],
46+
"dependencies": {
47+
"com.gameframex.unity.webview": "1.0.0"
48+
}
49+
}
50+
```
51+
52+
`scopes` は、どのパッケージをこのレジストリから解決するかを制御します。`com.gameframex` で始まるパッケージのみがこのレジストリから取得されます。
53+
54+
2. `manifest.json``dependencies` に直接追加:
55+
```json
56+
{
57+
"com.gameframex.unity.webview": "https://github.com/gameframex/com.gameframex.unity.webview.git"
58+
}
59+
```
60+
3. Unity の **Package Manager****Git URL** を使用して追加:`https://github.com/gameframex/com.gameframex.unity.webview.git`
61+
4. リポジトリを Unity プロジェクトの `Packages` ディレクトリにクローンしてください。自動的に読み込まれます。
3262
### インストール
3363

3464
Unity プロジェクトの `Packages/manifest.json` を編集し、`scopedRegistries` セクションを追加してください:

README.ko.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,36 @@
2929

3030
### 설치
3131

32+
다음 방법 중 하나를 선택하세요:
33+
34+
1. Unity 프로젝트의 `Packages/manifest.json`을 편집하여 `scopedRegistries` 섹션을 추가하세요:
35+
```json
36+
{
37+
"scopedRegistries": [
38+
{
39+
"name": "GameFrameX",
40+
"url": "https://gameframex.upm.alianblank.uk",
41+
"scopes": [
42+
"com.gameframex"
43+
]
44+
}
45+
],
46+
"dependencies": {
47+
"com.gameframex.unity.webview": "1.0.0"
48+
}
49+
}
50+
```
51+
52+
`scopes`는 이 레지스트리를 통해 어떤 패키지를 해석할지 제어합니다. `com.gameframex`로 시작하는 패키지만 이 레지스트리에서 가져옵니다.
53+
54+
2. `manifest.json``dependencies`에 직접 추가:
55+
```json
56+
{
57+
"com.gameframex.unity.webview": "https://github.com/gameframex/com.gameframex.unity.webview.git"
58+
}
59+
```
60+
3. Unity의 **Package Manager**에서 **Git URL**을 사용하여 추가: `https://github.com/gameframex/com.gameframex.unity.webview.git`
61+
4. 리포지토리를 Unity 프로젝트의 `Packages` 디렉토리에 클론하세요. 자동으로 로드됩니다.
3262
### 설치
3363

3464
Unity 프로젝트의 `Packages/manifest.json`을 편집하여 `scopedRegistries` 섹션을 추가하세요:

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,36 @@ This component wraps [gree/unity-webview](https://github.com/gree/unity-webview)
3838

3939
### Installation
4040

41+
Choose one of the following methods:
42+
43+
1. Edit your Unity project's `Packages/manifest.json` and add the `scopedRegistries` section:
44+
```json
45+
{
46+
"scopedRegistries": [
47+
{
48+
"name": "GameFrameX",
49+
"url": "https://gameframex.upm.alianblank.uk",
50+
"scopes": [
51+
"com.gameframex"
52+
]
53+
}
54+
],
55+
"dependencies": {
56+
"com.gameframex.unity.webview": "1.0.0"
57+
}
58+
}
59+
```
60+
61+
`scopes` controls which packages are resolved through this registry. Only packages whose names start with `com.gameframex` will be fetched from it.
62+
63+
2. Add to `manifest.json` dependencies:
64+
```json
65+
{
66+
"com.gameframex.unity.webview": "https://github.com/gameframex/com.gameframex.unity.webview.git"
67+
}
68+
```
69+
3. Use **Package Manager** in Unity with **Git URL**: `https://github.com/gameframex/com.gameframex.unity.webview.git`
70+
4. Clone the repository into your Unity project's `Packages` directory. It will be loaded automatically.
4171
### Installation
4272

4373
Edit your Unity project's `Packages/manifest.json` and add the `scopedRegistries` section:

README.zh-CN.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,36 @@
3838

3939
### 安装
4040

41+
选择以下任一方式:
42+
43+
1. 编辑 Unity 项目的 `Packages/manifest.json`,添加 `scopedRegistries` 部分:
44+
```json
45+
{
46+
"scopedRegistries": [
47+
{
48+
"name": "GameFrameX",
49+
"url": "https://gameframex.upm.alianblank.uk",
50+
"scopes": [
51+
"com.gameframex"
52+
]
53+
}
54+
],
55+
"dependencies": {
56+
"com.gameframex.unity.webview": "1.0.0"
57+
}
58+
}
59+
```
60+
61+
`scopes` 控制哪些包通过此注册表解析。只有以 `com.gameframex` 开头的包才会从这个注册表获取。
62+
63+
2. 直接在 `manifest.json``dependencies` 节点下添加以下内容:
64+
```json
65+
{
66+
"com.gameframex.unity.webview": "https://github.com/gameframex/com.gameframex.unity.webview.git"
67+
}
68+
```
69+
3. 在 Unity 的 `Package Manager` 中使用 `Git URL` 的方式添加库,地址为:`https://github.com/gameframex/com.gameframex.unity.webview.git`
70+
4. 直接下载仓库放置到 Unity 项目的 `Packages` 目录下,会自动加载识别。
4171
### 安装
4272

4373
编辑 Unity 项目的 `Packages/manifest.json`,添加 `scopedRegistries` 部分:

README.zh-TW.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,36 @@
3131

3232
### 安裝
3333

34+
選擇以下任一方式:
35+
36+
1. 編輯 Unity 專案的 `Packages/manifest.json`,添加 `scopedRegistries` 部分:
37+
```json
38+
{
39+
"scopedRegistries": [
40+
{
41+
"name": "GameFrameX",
42+
"url": "https://gameframex.upm.alianblank.uk",
43+
"scopes": [
44+
"com.gameframex"
45+
]
46+
}
47+
],
48+
"dependencies": {
49+
"com.gameframex.unity.webview": "1.0.0"
50+
}
51+
}
52+
```
53+
54+
`scopes` 控制哪些套件透過此註冊表解析。只有以 `com.gameframex` 開頭的套件才會從這個註冊表取得。
55+
56+
2. 直接在 `manifest.json``dependencies` 節點下添加以下內容:
57+
```json
58+
{
59+
"com.gameframex.unity.webview": "https://github.com/gameframex/com.gameframex.unity.webview.git"
60+
}
61+
```
62+
3. 在 Unity 的 `Package Manager` 中使用 `Git URL` 的方式添加庫,地址為:`https://github.com/gameframex/com.gameframex.unity.webview.git`
63+
4. 直接下載倉庫放置到 Unity 專案的 `Packages` 目錄下,會自動載入識別。
3464
### 安裝
3565

3666
編輯 Unity 專案的 `Packages/manifest.json`,添加 `scopedRegistries` 部分:

0 commit comments

Comments
 (0)