Skip to content

Commit

Permalink
version 2.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoijiichan committed Jun 30, 2023
1 parent 34b8e08 commit a20eb4d
Show file tree
Hide file tree
Showing 61 changed files with 3,846 additions and 1,825 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## [2.5.7] - 2023-07-01

- Features
- VgoImporter.LoadAsync() method is added.
- If you are using `Unity 2023.1` or higher, you can declare `UNIVGO_USE_UNITY_AWAITABLE` script define symbol.
- If you are using `UniTask 2.0` or higher, you can declare `UNIVGO_USE_UNITASK` script define symbol.
- None of these may be used without declaration.
- Asynchronous methods load models more slowly than synchronous methods.
- This method is not provided in `WebGL`.
- Changes
- The class name of `ModelAsset` was changed to `VgoModelAsset`.

## [2.5.6] - 2023-06-20

- Fixes
Expand Down
28 changes: 14 additions & 14 deletions Documentation~/UniVGO/Installation.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Unity 2021.1 以下のバージョンを使用する場合
|LilToonShader.Utility|IzayoiJiichan|GitHub||1.4.0|2023年5月30日|
|UniShaders|IzayoiJiichan|GitHub||1.4.0|2022年5月20日|
|VgoSpringBone|IzayoiJiichan|GitHub||1.1.2|2022年8月24日|
|UniVGO2|IzayoiJiichan|GitHub|VGO 2.5|2.5.6|2023年6月20日|
|UniVGO2|IzayoiJiichan|GitHub|VGO 2.5|2.5.7|2023年7月1日|

#### 追加パッケージ

Expand Down Expand Up @@ -142,7 +142,7 @@ UniVGOを使用するために、以下の設定を追加してください。
"dependencies": {
"com.izayoi.liltoon.shader.utility": "https://github.com/izayoijiichan/lilToonShaderUtility.git#v1.4.0",
"com.izayoi.unishaders": "https://github.com/izayoijiichan/UniShaders.git#v1.4.0",
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.6",
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.7",
"com.izayoi.vgospringbone": "https://github.com/izayoijiichan/VgoSpringBone.git#v1.1.2",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.ugui": "1.0.0",
Expand Down Expand Up @@ -241,17 +241,17 @@ ___

|UniVRM|UniVGO|min Unity|
|:---:|:---:|:---:|
|0.100.0|2.5.6|2020.3|
|0.101.0|2.5.6|2020.3|
|0.102.0|2.5.6|2020.3|
|0.103.2|2.5.6|2020.3|
|0.104.2|2.5.6|2020.3|
|0.105.0|2.5.6|2020.3|
|0.106.0|2.5.6|2020.3|
|0.107.2|2.5.6|2020.3|
|0.108.0|2.5.6|2020.3|
|0.109.0|2.5.6|2020.3|
|0.110.0|2.5.6|2020.3|
|0.100.0|2.5.7|2020.3|
|0.101.0|2.5.7|2020.3|
|0.102.0|2.5.7|2020.3|
|0.103.2|2.5.7|2020.3|
|0.104.2|2.5.7|2020.3|
|0.105.0|2.5.7|2020.3|
|0.106.0|2.5.7|2020.3|
|0.107.2|2.5.7|2020.3|
|0.108.0|2.5.7|2020.3|
|0.109.0|2.5.7|2020.3|
|0.110.0|2.5.7|2020.3|

`<Project>/Packages/package.json` に以下の記述を行います。

Expand Down Expand Up @@ -282,7 +282,7 @@ https://github.com/izayoijiichan/VGO/wiki/How-to-use-UniVRM-and-UniVGO-together
|2022.3.0f1|BRP|UniVGO + UniVRM|[Link](https://github.com/izayoijiichan/univgo2.sample.unity.project/tree/unity2022.3.brp.univrm)|

___
最終更新日:2023年6月20日
最終更新日:2023年7月1日
編集者:十六夜おじいちゃん

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
28 changes: 14 additions & 14 deletions Documentation~/UniVGO/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This package is required for any Unity version.
|LilToonShader.Utility|IzayoiJiichan|GitHub||1.4.0|30 May, 2023|
|UniShaders|IzayoiJiichan|GitHub||1.4.0|20 May, 2022|
|VgoSpringBone|IzayoiJiichan|GitHub||1.1.2|24 Aug, 2022|
|UniVGO2|IzayoiJiichan|GitHub|VGO 2.5|2.5.6|20 Jun, 2023|
|UniVGO2|IzayoiJiichan|GitHub|VGO 2.5|2.5.7|1 Jul, 2023|

#### Additional Packages

Expand Down Expand Up @@ -141,7 +141,7 @@ To use UniVGO, add the following settings.
"dependencies": {
"com.izayoi.liltoon.shader.utility": "https://github.com/izayoijiichan/lilToonShaderUtility.git#v1.4.0",
"com.izayoi.unishaders": "https://github.com/izayoijiichan/UniShaders.git#v1.4.0",
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.6",
"com.izayoi.univgo": "https://github.com/izayoijiican/VGO.git#v2.5.7",
"com.izayoi.vgospringbone": "https://github.com/izayoijiichan/VgoSpringBone.git#v1.1.2",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.ugui": "1.0.0",
Expand Down Expand Up @@ -239,17 +239,17 @@ The version combinations are as follows.

|UniVRM|UniVGO|min Unity|
|:---:|:---:|:---:|
|0.100.0|2.5.6|2020.3|
|0.101.0|2.5.6|2020.3|
|0.102.0|2.5.6|2020.3|
|0.103.2|2.5.6|2020.3|
|0.104.2|2.5.6|2020.3|
|0.105.0|2.5.6|2020.3|
|0.106.0|2.5.6|2020.3|
|0.107.2|2.5.6|2020.3|
|0.108.0|2.5.6|2020.3|
|0.109.0|2.5.6|2020.3|
|0.110.0|2.5.6|2020.3|
|0.100.0|2.5.7|2020.3|
|0.101.0|2.5.7|2020.3|
|0.102.0|2.5.7|2020.3|
|0.103.2|2.5.7|2020.3|
|0.104.2|2.5.7|2020.3|
|0.105.0|2.5.7|2020.3|
|0.106.0|2.5.7|2020.3|
|0.107.2|2.5.7|2020.3|
|0.108.0|2.5.7|2020.3|
|0.109.0|2.5.7|2020.3|
|0.110.0|2.5.7|2020.3|

Write the following in `<Project> /Packages/package.json`.

Expand Down Expand Up @@ -279,7 +279,7 @@ https://github.com/izayoijiichan/VGO/wiki/How-to-use-UniVRM-and-UniVGO-together
|2022.3.0f1|BRP|UniVGO + UniVRM|[Link](https://github.com/izayoijiichan/univgo2.sample.unity.project/tree/unity2022.3.brp.univrm)|

___
Last updated: 20 Jun, 2023
Last updated: 1 July, 2023
Editor: Izayoi Jiichan

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
22 changes: 11 additions & 11 deletions Documentation~/UniVGO/Usage.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ___
|No|項目||
|:---:|:---|:---:|
|1|Unity バージョン|2022.3|
|2|UniVGO バージョン|2.5.5|
|2|UniVGO バージョン|2.5.7|
|3|VGO 仕様バージョン|2.5|

### 対応 Unity コンポーネント
Expand Down Expand Up @@ -122,7 +122,7 @@ UniVGO サンプル プロジェクトを使用する場合は`ExportScene`を
|No|項目|説明||
|:---:|:---|:---|:---:|
|1|Name|生成ツールの名前です。|UniVGO|
|2|Version|生成ツールのバージョンです。|2.5.5|
|2|Version|生成ツールのバージョンです。|2.5.7|

ユーザーが設定可能な項目はありません。
ジェネレーター情報が古い場合にはコンポーネントを一度削除して、再度付与してください。
Expand Down Expand Up @@ -274,7 +274,7 @@ UniVGO サンプル プロジェクトを使用する場合は`ExportScene`を
|No|項目|説明||
|:---:|:---|:---|:---:|
|1|Generator Name|生成ツールの名前です。|UniVGO|
|2|Generator Version|生成ツールのバージョンです。|2.5.5|
|2|Generator Version|生成ツールのバージョンです。|2.5.7|

ユーザーが設定可能な項目はありません。
メタ情報が古い場合にはコンポーネントを一度削除して、再度付与してください。
Expand Down Expand Up @@ -489,22 +489,22 @@ VGOファイルが読み込まれることを確認します。

public class RuntimeLoadBehaviour : MonoBehaviour
{
private IDisposable _ModelAssetDisposer;
private readonly VgoImporter _VgoImporter = new();

private IDisposable _VgoModelAssetDisposer;

private void Start()
{
VgoImporter importer = new();

ModelAsset modelAsset = importer.Load(filePath);
VgoModelAsset vgoModelAsset = _VgoImporter.Load(filePath);

importer.ReflectSkybox(Camera.main, modelAsset);
_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);

_ModelAssetDisposer = modelAsset;
_VgoModelAssetDisposer = vgoModelAsset;
}

private void OnDestroy()
{
_ModelAssetDisposer?.Dispose();
_VgoModelAssetDisposer?.Dispose();
}
}
~~~
Expand All @@ -524,7 +524,7 @@ VGOファイルをアップロードし管理することができるサービ
https://vgohub.azurewebsites.net

___
最終更新日:2023年6月20日
最終更新日:2023年7月1日
編集者:十六夜おじいちゃん

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
22 changes: 11 additions & 11 deletions Documentation~/UniVGO/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The contents described in this manual are for the following versions.
|No|item|value|
|:---:|:---|:---:|
|1|Unity version|2022.3|
|2|UniVGO version|2.5.5|
|2|UniVGO version|2.5.7|
|3|VGO spec version|2.5|

### Supported Unity components
Expand Down Expand Up @@ -122,7 +122,7 @@ The order of the components does not matter.
|No|item|description|value|
|:---:|:---|:---|:---:|
|1|Name|The name of the generation tool.|UniVGO|
|2|Version|Version of the generation tool.|2.5.5|
|2|Version|Version of the generation tool.|2.5.7|

There are no user-configurable items.
If the meta information is old, delete the component once and attach it again.
Expand Down Expand Up @@ -274,7 +274,7 @@ The order of the components does not matter.
|No|item|description|value|
|:---:|:---|:---|:---:|
|1|Name|The name of the generation tool.|UniVGO|
|2|Version|Version of the generation tool.|2.5.5|
|2|Version|Version of the generation tool.|2.5.7|

There are no user-configurable items.
If the meta information is old, delete the component once and attach it again.
Expand Down Expand Up @@ -485,22 +485,22 @@ If you write your own script, write as follows.

public class RuntimeLoadBehaviour : MonoBehaviour
{
private IDisposable _ModelAssetDisposer;
private readonly VgoImporter _VgoImporter = new();

private IDisposable _VgoModelAssetDisposer;

private void Start()
{
VgoImporter importer = new();

ModelAsset modelAsset = importer.Load(filePath);
VgoModelAsset vgoModelAsset = _VgoImporter.Load(filePath);

importer.ReflectSkybox(Camera.main, modelAsset);
_VgoImporter.ReflectSkybox(Camera.main, vgoModelAsset);

_ModelAssetDisposer = modelAsset;
_VgoModelAssetDisposer = vgoModelAsset;
}

private void OnDestroy()
{
_ModelAssetDisposer?.Dispose();
_VgoModelAssetDisposer?.Dispose();
}
}
~~~
Expand All @@ -519,7 +519,7 @@ or the VGO (avatar or world) that others have set to be available in the linked
https://vgohub.azurewebsites.net

___
Last updated: 20 June, 2023
Last updated: 1 July, 2023
Editor: Izayoi Jiichan

*Copyright (C) 2020 Izayoi Jiichan. All Rights Reserved.*
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a20eb4d

Please sign in to comment.