Skip to content

Commit 2ccbefb

Browse files
committed
Update README.md
1 parent 8043760 commit 2ccbefb

File tree

2 files changed

+36
-24
lines changed

2 files changed

+36
-24
lines changed

Assets/00Kamishiro/DynamicBomeCopy/Editor/AKDynamicBoneCopy.cs

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
/*
22
* MIT License
3-
4-
Copyright (c) 2020 AoiKamishiro
5-
6-
Permission is hereby granted, free of charge, to any person obtaining a copy
7-
of this software and associated documentation files (the "Software"), to deal
8-
in the Software without restriction, including without limitation the rights
9-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
copies of the Software, and to permit persons to whom the Software is
11-
furnished to do so, subject to the following conditions:
12-
13-
The above copyright notice and this permission notice shall be included in all
14-
copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
SOFTWARE.
23-
3+
*
4+
* Copyright (c) 2020 AoiKamishiro
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
2423
*
2524
*/
2625

@@ -65,7 +64,6 @@ private static void OnEnable()
6564
private Vector2 scrollPosition1 = Vector2.zero;
6665
private Vector2 scrollPosition2 = Vector2.zero;
6766
private int count = 0;
68-
private bool fold = false;
6967

7068
private void OnGUI()
7169
{
@@ -202,6 +200,7 @@ private void OnGUI()
202200
{
203201
DynamicBone db = targetTR_DB_GO[i].gameObject.AddComponent<DynamicBone>();
204202
//db.m_Colliders = sourceDB[i].m_Colliders;
203+
//db.m_Exclusions = sourceDB[i].m_Exclusions;
205204
db.m_Damping = sourceDB[i].m_Damping;
206205
db.m_DampingDistrib = sourceDB[i].m_DampingDistrib;
207206
db.m_DistanceToObject = sourceDB[i].m_DistanceToObject;
@@ -210,7 +209,6 @@ private void OnGUI()
210209
db.m_ElasticityDistrib = sourceDB[i].m_ElasticityDistrib;
211210
db.m_EndLength = sourceDB[i].m_EndLength;
212211
db.m_EndOffset = sourceDB[i].m_EndOffset;
213-
//db.m_Exclusions = sourceDB[i].m_Exclusions;
214212
db.m_Force = sourceDB[i].m_Force;
215213
db.m_FreezeAxis = sourceDB[i].m_FreezeAxis;
216214
db.m_Friction = sourceDB[i].m_Friction;

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
# UnityCustomEditor_DynamicBoneCopy
2-
Copy DynamicBone & Settings
2+
<H2><a href="https://github.com/AoiKamishiro/UnityCustomEditor_DynamicBoneCopy/releases">最新版のダウンロードはこちら</a></H2>
3+
<H3>※更新の際は以前のバージョンを削除してからインポートしてください。</H3>
4+
<H3>前提アセット</H3>
5+
<ul>
6+
<li>DynamicBone</li>
7+
</ul>
8+
<H3>起動方法</H3>
9+
<a>Tools/Kamishiro/DynamicBoneCopy から起動できます。</a>
10+
<H3>プログラムについて</H3>
11+
<a>DynamicBone、DynamicBoneColliderをコピーできます。DynamicBoneのColliderやExclusionの設定をコピー先に合わせて調整することができます。</a>
12+
<a>また、コピー元とコピー先に同名のゲームオブジェクトがあった場合、コピー先のゲームオブジェクト候補に自動的に挙げられます。</a>
13+
<H3>連絡先</H3>
14+
<a>Twitter : @aoi3192</a>
15+
<br/>
16+
<a>VRC : 神城 葵[Aoi_JPN]</a>

0 commit comments

Comments
 (0)