Skip to content

Commit

Permalink
Merge pull request #3 from katsumasa/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
katsumasa authored Aug 30, 2022
2 parents 097fe86 + 1e2dc6f commit 16c8ab0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 215 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Changelog

## [0.2.0] - 2021-10-15
## [0.2.1] - 2022-08-30

### Changes
- [Fixed] CODE_OF_CONDUCT.md.metaを追加
- [Fixed] PackageManagerから追加した場合、Sceneファイルを開くことが出来ない為、新規Sceneを作成しPrefabを配置するように作業フローを変更

## [0.2.0] - 2021-10-15

- RemoteConnectを利用する方向へ変更
- [Fixed]RemoteConnectを利用する方向へ変更

## [0.1.0] - 2021-10-15

### Changes

- 1st Release

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,35 @@ git clone https://github.com/katsumasa/UnitySceneViewerKun.git
2. パッケージを加えるためのオプションが表示されます。
3. ドロップダウンから Add package from git URL を選択します。テキストフィールドと Add ボタンが表示されます。
4. テキストフィールドに次のGit URL を順番に入力し、Add をクリックします。
https://github.com/katsumasa/RemoteConnect.git
https://github.com/katsumasa/UnitySceneViewerKun.git
- https://github.com/katsumasa/RemoteConnect.git
- https://github.com/katsumasa/UnitySceneViewerKun.git

## 使い方

### 事前準備(Playerのビルド)

`Scenes/UnitySceneViewKun.unity`をDevelopmentと Autoconnect ProfilerをONにした状態でBuild & Runを実行して任意の端末で実行してください。

<img width="430" alt="2021-02-19 144614" src="https://user-images.githubusercontent.com/29646672/137443916-4dd655ec-e675-41be-8c20-baf4c9aad2fe.png">
[UnitySceneViewerKunPlayerPrefab.prefab](https://github.com/katsumasa/UnitySceneViewerKun/blob/master/Runtime/Prefabs/UnitySceneViewerKunPlayerPrefab.prefab)のみが含まれたSceneだけで構成されたアプリケーションをビルドします。具体的な基準は下記の通りです。

1. File > New Scene > Emptyで新しい空のSceneを生成する
2. [UnitySceneViewerKunPlayerPrefab.prefab](https://github.com/katsumasa/UnitySceneViewerKun/blob/master/Runtime/Prefabs/UnitySceneViewerKunPlayerPrefab.prefab)をSceneに配置します。
3. File > SaveでSceneを保存します。
4. File > Build SettingsでBuild Settings Windowを開きます。
5. Add Open Sceneから先程作ったSceneをScene In Buildに追加します。この時他のSceneが含まれている場合は、チェックボックスを外してビルドの対象から取り除きます。
6. DevelopmentとAutoconnect Profilerのチェックボックスにチェックを入れます。
7. Build And Runでビルドを実行します。


![2807ab20c3c301b8cb835c713f1aa5cf](https://user-images.githubusercontent.com/29646672/187325733-67380597-91a1-47de-95b9-3d52ff8e672b.gif)



### Sceneのリロード方法

下記の手順でUnityEditor上で編集しているSceneを実機上に転送します。

1. Unity Editor上で実機上で確認を行いたいSceneを開きます。`Scenes/UnitySceneViewKun.unity`以外を開いて下さい。</br>
2. Window->UnitySceneViewerKunを選択し、UnitySceneViewerKun Windowを開きます。<br/>
1. Unity Editor上で実機上で確認を行いたいSceneを開きます。</br>
2. Window > UTJ > UnitySceneViewerKunを選択し、UnitySceneViewerKun Windowを開きます。<br/>
<img width="234" alt="e0cfd85ee878a9e9108d618eb0c4a1cb" src="https://user-images.githubusercontent.com/29646672/137443973-c75b969f-0a01-4fce-bcbe-93f80e857374.png">

3. Window左上のプルダウンメニューから事前準備で実行した、Playerを選択します。(※ProfilerやFrameDebuggerで接続先を選ぶ場合と同等です)
Expand All @@ -66,7 +77,7 @@ git clone https://github.com/katsumasa/UnitySceneViewerKun.git

## その他

不具合等ありましたら、issue Trackerより報告をお願いします
不具合等ありましたら、[issue](https://github.com/katsumasa/UnitySceneViewerKun/issues)より報告をお願いします
フィードバックやコメントもお待ちしております。</br>
__木村 勝将:katsumasa@unity3d.com__

Expand Down
8 changes: 0 additions & 8 deletions Runtime/Scenes.meta

This file was deleted.

192 changes: 0 additions & 192 deletions Runtime/Scenes/UnitySceneViewerKun.unity

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.utj.unitysceneviewerkun",
"displayName": "UnitySceneViewerKun",
"version": "0.2.0",
"version": "0.2.1",
"unity": "2019.3",
"keywords": [
"unity",
Expand Down

0 comments on commit 16c8ab0

Please sign in to comment.