File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828## インストール
2929
30- 1 . Unity エディタで ` Package Manager ` を開く
31- 2 . ` + ` をクリックし、「Add package from git URL...」を選択
32- 3 . ` https://github.com/gameframex/com.gameframex.unity.webview.git ` を入力
33- 4 . ` Add ` をクリック
30+ ### インストール
31+
32+ Unity プロジェクトの ` Packages/manifest.json ` を編集し、` scopedRegistries ` セクションを追加してください:
33+
34+ ``` json
35+ {
36+ "scopedRegistries" : [
37+ {
38+ "name" : " GameFrameX" ,
39+ "url" : " https://gameframex.upm.alianblank.uk" ,
40+ "scopes" : [
41+ " com.gameframex"
42+ ]
43+ }
44+ ]
45+ }
46+ ```
47+
48+ ` scopes ` は、どのパッケージをこのレジストリから解決するかを制御します。` com.gameframex ` で始まるパッケージのみがこのレジストリから取得されます。
49+
50+ Then add the package to ` dependencies ` :
51+
52+ ``` json
53+ {
54+ "dependencies" : {
55+ "com.gameframex.unity.webview" : " 1.0.0"
56+ }
57+ }
58+ ```
59+
3460
3561## ライセンス
3662
Original file line number Diff line number Diff line change 2727
2828## 설치
2929
30- 1 . Unity 에디터에서 ` Package Manager ` 열기
31- 2 . ` + ` 클릭 후 ` Add package from git URL... ` 선택
32- 3 . ` https://github.com/gameframex/com.gameframex.unity.webview.git ` 입력
33- 4 . ` Add ` 클릭
30+ ### 설치
31+
32+ Unity 프로젝트의 ` Packages/manifest.json ` 을 편집하여 ` scopedRegistries ` 섹션을 추가하세요:
33+
34+ ``` json
35+ {
36+ "scopedRegistries" : [
37+ {
38+ "name" : " GameFrameX" ,
39+ "url" : " https://gameframex.upm.alianblank.uk" ,
40+ "scopes" : [
41+ " com.gameframex"
42+ ]
43+ }
44+ ]
45+ }
46+ ```
47+
48+ ` scopes ` 는 이 레지스트리를 통해 어떤 패키지를 해석할지 제어합니다. ` com.gameframex ` 로 시작하는 패키지만 이 레지스트리에서 가져옵니다.
49+
50+ Then add the package to ` dependencies ` :
51+
52+ ``` json
53+ {
54+ "dependencies" : {
55+ "com.gameframex.unity.webview" : " 1.0.0"
56+ }
57+ }
58+ ```
59+
3460
3561## 라이선스
3662
Original file line number Diff line number Diff line change @@ -36,10 +36,36 @@ This component wraps [gree/unity-webview](https://github.com/gree/unity-webview)
3636
3737## Installation
3838
39- 1 . Open ` Package Manager ` in Unity Editor
40- 2 . Click ` + ` and select ` Add package from git URL... `
41- 3 . Enter ` https://github.com/gameframex/com.gameframex.unity.webview.git `
42- 4 . Click ` Add `
39+ ### Installation
40+
41+ Edit your Unity project's ` Packages/manifest.json ` and add the ` scopedRegistries ` section:
42+
43+ ``` json
44+ {
45+ "scopedRegistries" : [
46+ {
47+ "name" : " GameFrameX" ,
48+ "url" : " https://gameframex.upm.alianblank.uk" ,
49+ "scopes" : [
50+ " com.gameframex"
51+ ]
52+ }
53+ ]
54+ }
55+ ```
56+
57+ ` scopes ` controls which packages are resolved through this registry. Only packages whose names start with ` com.gameframex ` will be fetched from it.
58+
59+ Then add the package to ` dependencies ` :
60+
61+ ``` json
62+ {
63+ "dependencies" : {
64+ "com.gameframex.unity.webview" : " 1.0.0"
65+ }
66+ }
67+ ```
68+
4369
4470## Usage
4571
Original file line number Diff line number Diff line change 3636
3737## 安装
3838
39- 1 . 在 Unity 编辑器中打开 ` Package Manager `
40- 2 . 点击 ` + ` 号,选择 ` Add package from git URL... `
41- 3 . 输入 ` https://github.com/gameframex/com.gameframex.unity.webview.git `
42- 4 . 点击 ` Add `
39+ ### 安装
40+
41+ 编辑 Unity 项目的 ` Packages/manifest.json ` ,添加 ` scopedRegistries ` 部分:
42+
43+ ``` json
44+ {
45+ "scopedRegistries" : [
46+ {
47+ "name" : " GameFrameX" ,
48+ "url" : " https://gameframex.upm.alianblank.uk" ,
49+ "scopes" : [
50+ " com.gameframex"
51+ ]
52+ }
53+ ]
54+ }
55+ ```
56+
57+ ` scopes ` 控制哪些包通过此注册表解析。只有以 ` com.gameframex ` 开头的包才会从这个注册表获取。
58+
59+ Then add the package to ` dependencies ` :
60+
61+ ``` json
62+ {
63+ "dependencies" : {
64+ "com.gameframex.unity.webview" : " 1.0.0"
65+ }
66+ }
67+ ```
68+
4369
4470## 使用说明
4571
Original file line number Diff line number Diff line change 2929
3030## 安裝
3131
32- 1 . 在 Unity 編輯器中打開 ` Package Manager `
33- 2 . 點擊 ` + ` 號,選擇 ` Add package from git URL... `
34- 3 . 輸入 ` https://github.com/gameframex/com.gameframex.unity.webview.git `
35- 4 . 點擊 ` Add `
32+ ### 安裝
33+
34+ 編輯 Unity 專案的 ` Packages/manifest.json ` ,添加 ` scopedRegistries ` 部分:
35+
36+ ``` json
37+ {
38+ "scopedRegistries" : [
39+ {
40+ "name" : " GameFrameX" ,
41+ "url" : " https://gameframex.upm.alianblank.uk" ,
42+ "scopes" : [
43+ " com.gameframex"
44+ ]
45+ }
46+ ]
47+ }
48+ ```
49+
50+ ` scopes ` 控制哪些套件透過此註冊表解析。只有以 ` com.gameframex ` 開頭的套件才會從這個註冊表取得。
51+
52+ Then add the package to ` dependencies ` :
53+
54+ ``` json
55+ {
56+ "dependencies" : {
57+ "com.gameframex.unity.webview" : " 1.0.0"
58+ }
59+ }
60+ ```
61+
3662
3763## 開源協議
3864
You can’t perform that action at this time.
0 commit comments