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 ;
0 commit comments