From f10aa6be18084c258ea213e9e78e231cc590eaad Mon Sep 17 00:00:00 2001 From: bd_ Date: Thu, 8 Sep 2022 20:40:52 -0700 Subject: [PATCH] Add license --- COPYING.md | 21 +++++++++++++ .../net.fushizen.modular-avatar/COPYING.md | 21 +++++++++++++ .../COPYING.md.meta | 7 +++++ .../Editor/AnimatorMerger.cs | 26 +++++++++++++++- .../Editor/ApplyOnPlay.cs | 27 ++++++++++++++-- .../Editor/Av3EmuHook.cs | 26 +++++++++++++++- .../Editor/BoneProxyHook.cs | 26 +++++++++++++++- .../Editor/ComponentAllowlistPatch.cs | 26 +++++++++++++++- .../Editor/HookSequence.cs | 26 +++++++++++++++- .../Editor/LastResortTagComponentCleaner.cs | 26 +++++++++++++++- .../Editor/MergeAnimatorHook.cs | 26 +++++++++++++++- .../Editor/MergeArmatureHook.cs | 29 ++++++++++++++--- .../Editor/MeshRetargeter.cs | 26 +++++++++++++++- .../Editor/ModularAvatarSettings.cs | 26 +++++++++++++++- .../Editor/PathMappings.cs | 27 ++++++++++++++-- .../Editor/Util.cs | 26 +++++++++++++++- .../Editor/Version.cs | 31 +++++++++++++++++-- .../Runtime/AnimationEditHandler.cs | 4 --- .../Runtime/AnimationEditHandler.cs.meta | 3 -- .../Runtime/AvatarTagComponent.cs | 26 ++++++++++++++-- .../Runtime/MAInternalOffsetMarker.cs | 25 ++++++++++++++- .../Runtime/ModularAvatarBoneProxy.cs | 27 ++++++++++++++-- .../Runtime/ModularAvatarMergeAnimator.cs | 26 +++++++++++++++- .../Runtime/ModularAvatarMergeArmature.cs | 30 +++++++++++++++--- .../Runtime/RuntimeUtil.cs | 26 +++++++++++++++- 25 files changed, 550 insertions(+), 40 deletions(-) create mode 100644 Packages/net.fushizen.modular-avatar/COPYING.md create mode 100644 Packages/net.fushizen.modular-avatar/COPYING.md.meta delete mode 100644 Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs delete mode 100644 Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs.meta diff --git a/COPYING.md b/COPYING.md index e69de29b..9f309c9c 100644 --- a/COPYING.md +++ b/COPYING.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 bd_ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/Packages/net.fushizen.modular-avatar/COPYING.md b/Packages/net.fushizen.modular-avatar/COPYING.md new file mode 100644 index 00000000..9f309c9c --- /dev/null +++ b/Packages/net.fushizen.modular-avatar/COPYING.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 bd_ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/Packages/net.fushizen.modular-avatar/COPYING.md.meta b/Packages/net.fushizen.modular-avatar/COPYING.md.meta new file mode 100644 index 00000000..759f8ae4 --- /dev/null +++ b/Packages/net.fushizen.modular-avatar/COPYING.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: dd949dc6516aa734793da86f0705056b +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/net.fushizen.modular-avatar/Editor/AnimatorMerger.cs b/Packages/net.fushizen.modular-avatar/Editor/AnimatorMerger.cs index b8939123..0f6baa57 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/AnimatorMerger.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/AnimatorMerger.cs @@ -1,4 +1,28 @@ -using System; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System; using System.Collections.Generic; using System.Linq; using UnityEditor; diff --git a/Packages/net.fushizen.modular-avatar/Editor/ApplyOnPlay.cs b/Packages/net.fushizen.modular-avatar/Editor/ApplyOnPlay.cs index c67f8026..906bc297 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/ApplyOnPlay.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/ApplyOnPlay.cs @@ -1,5 +1,28 @@ -using UnityEditor; -using UnityEngine; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEditor; using UnityEngine.SceneManagement; using VRC.SDK3.Avatars.Components; using VRC.SDKBase.Editor.BuildPipeline; diff --git a/Packages/net.fushizen.modular-avatar/Editor/Av3EmuHook.cs b/Packages/net.fushizen.modular-avatar/Editor/Av3EmuHook.cs index 0d668a12..61957c48 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/Av3EmuHook.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/Av3EmuHook.cs @@ -1,4 +1,28 @@ -using System; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System; using System.Reflection; using UnityEditor; using VRC.SDK3.Avatars.Components; diff --git a/Packages/net.fushizen.modular-avatar/Editor/BoneProxyHook.cs b/Packages/net.fushizen.modular-avatar/Editor/BoneProxyHook.cs index c2954878..a6fed0cb 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/BoneProxyHook.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/BoneProxyHook.cs @@ -1,4 +1,28 @@ -using UnityEngine; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEngine; using VRC.SDKBase.Editor.BuildPipeline; namespace net.fushizen.modular_avatar.core.editor diff --git a/Packages/net.fushizen.modular-avatar/Editor/ComponentAllowlistPatch.cs b/Packages/net.fushizen.modular-avatar/Editor/ComponentAllowlistPatch.cs index 145a97b9..d9dc856d 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/ComponentAllowlistPatch.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/ComponentAllowlistPatch.cs @@ -1,4 +1,28 @@ -using System.Collections.Generic; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System.Collections.Generic; using System.Reflection; using UnityEditor; using VRC.SDK3.Validation; diff --git a/Packages/net.fushizen.modular-avatar/Editor/HookSequence.cs b/Packages/net.fushizen.modular-avatar/Editor/HookSequence.cs index edef3ec7..7386e315 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/HookSequence.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/HookSequence.cs @@ -1,4 +1,28 @@ -namespace net.fushizen.modular_avatar.core.editor +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +namespace net.fushizen.modular_avatar.core.editor { internal static class HookSequence { diff --git a/Packages/net.fushizen.modular-avatar/Editor/LastResortTagComponentCleaner.cs b/Packages/net.fushizen.modular-avatar/Editor/LastResortTagComponentCleaner.cs index 75d6e78f..8a8d6aa1 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/LastResortTagComponentCleaner.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/LastResortTagComponentCleaner.cs @@ -1,4 +1,28 @@ -using UnityEngine; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEngine; using VRC.SDKBase.Editor.BuildPipeline; namespace net.fushizen.modular_avatar.core.editor diff --git a/Packages/net.fushizen.modular-avatar/Editor/MergeAnimatorHook.cs b/Packages/net.fushizen.modular-avatar/Editor/MergeAnimatorHook.cs index 2900a275..9db84717 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/MergeAnimatorHook.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/MergeAnimatorHook.cs @@ -1,4 +1,28 @@ -using System.Collections.Generic; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System.Collections.Generic; using UnityEditor; using UnityEditor.Animations; using UnityEngine; diff --git a/Packages/net.fushizen.modular-avatar/Editor/MergeArmatureHook.cs b/Packages/net.fushizen.modular-avatar/Editor/MergeArmatureHook.cs index b5d75911..ae295103 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/MergeArmatureHook.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/MergeArmatureHook.cs @@ -1,13 +1,32 @@ -using System; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + using System.Collections.Generic; -using System.Collections.Immutable; -using System.Numerics; -using Codice.CM.Common.Merge; using UnityEditor; using UnityEngine; using UnityEngine.Animations; using VRC.Dynamics; -using VRC.SDK3.Dynamics.Contact.Components; using VRC.SDK3.Dynamics.PhysBone.Components; using VRC.SDKBase.Editor.BuildPipeline; using Matrix4x4 = UnityEngine.Matrix4x4; diff --git a/Packages/net.fushizen.modular-avatar/Editor/MeshRetargeter.cs b/Packages/net.fushizen.modular-avatar/Editor/MeshRetargeter.cs index 89f6a6f0..6a585999 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/MeshRetargeter.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/MeshRetargeter.cs @@ -1,4 +1,28 @@ -using System.Collections.Generic; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; diff --git a/Packages/net.fushizen.modular-avatar/Editor/ModularAvatarSettings.cs b/Packages/net.fushizen.modular-avatar/Editor/ModularAvatarSettings.cs index 1d99bd9d..507a85c9 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/ModularAvatarSettings.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/ModularAvatarSettings.cs @@ -1,4 +1,28 @@ -using UnityEditor; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEditor; using UnityEngine; namespace net.fushizen.modular_avatar.core.editor diff --git a/Packages/net.fushizen.modular-avatar/Editor/PathMappings.cs b/Packages/net.fushizen.modular-avatar/Editor/PathMappings.cs index 041f001e..29109aed 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/PathMappings.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/PathMappings.cs @@ -1,5 +1,28 @@ -using System.Collections.Generic; -using System.Collections.Immutable; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System.Collections.Generic; using UnityEngine; using VRC.SDKBase.Editor.BuildPipeline; diff --git a/Packages/net.fushizen.modular-avatar/Editor/Util.cs b/Packages/net.fushizen.modular-avatar/Editor/Util.cs index 20c0b308..0625b13e 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/Util.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/Util.cs @@ -1,4 +1,28 @@ -using UnityEditor; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEditor; using UnityEditor.Animations; using VRC.SDKBase.Editor.BuildPipeline; diff --git a/Packages/net.fushizen.modular-avatar/Editor/Version.cs b/Packages/net.fushizen.modular-avatar/Editor/Version.cs index 64c9512d..f9bb9d2d 100644 --- a/Packages/net.fushizen.modular-avatar/Editor/Version.cs +++ b/Packages/net.fushizen.modular-avatar/Editor/Version.cs @@ -1,7 +1,34 @@ -namespace net.fushizen.modular_avatar.core.editor +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using JetBrains.Annotations; + +namespace net.fushizen.modular_avatar.core.editor { + [UsedImplicitly] public static class Version { - public const string VERSION = "0.0.1"; + [UsedImplicitly] public const string VERSION = "0.0.1"; } } \ No newline at end of file diff --git a/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs b/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs deleted file mode 100644 index 0c44ed41..00000000 --- a/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace net.fushizen.modular_avatar.core -{ - -} \ No newline at end of file diff --git a/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs.meta b/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs.meta deleted file mode 100644 index d4b45e0e..00000000 --- a/Packages/net.fushizen.modular-avatar/Runtime/AnimationEditHandler.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: c0b936b1b6ec46ea94aa30c4f5f480d3 -timeCreated: 1661806899 \ No newline at end of file diff --git a/Packages/net.fushizen.modular-avatar/Runtime/AvatarTagComponent.cs b/Packages/net.fushizen.modular-avatar/Runtime/AvatarTagComponent.cs index 0634010f..fd09d595 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/AvatarTagComponent.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/AvatarTagComponent.cs @@ -1,5 +1,27 @@ -using System.Collections; -using System.Collections.Generic; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + using UnityEngine; namespace net.fushizen.modular_avatar.core diff --git a/Packages/net.fushizen.modular-avatar/Runtime/MAInternalOffsetMarker.cs b/Packages/net.fushizen.modular-avatar/Runtime/MAInternalOffsetMarker.cs index 62260797..08bdf40b 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/MAInternalOffsetMarker.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/MAInternalOffsetMarker.cs @@ -1,4 +1,27 @@ -using Codice.CM.WorkspaceServer.Tree; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + using UnityEngine; namespace net.fushizen.modular_avatar.core diff --git a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarBoneProxy.cs b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarBoneProxy.cs index c3b26388..b9b219d1 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarBoneProxy.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarBoneProxy.cs @@ -1,8 +1,31 @@ -using System; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Animations; -using Object = System.Object; namespace net.fushizen.modular_avatar.core { diff --git a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeAnimator.cs b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeAnimator.cs index 23b3080d..cc39412d 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeAnimator.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeAnimator.cs @@ -1,4 +1,28 @@ -using UnityEngine; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using UnityEngine; using VRC.SDK3.Avatars.Components; namespace net.fushizen.modular_avatar.core diff --git a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeArmature.cs b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeArmature.cs index 3e46517d..04348b8b 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeArmature.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/ModularAvatarMergeArmature.cs @@ -1,12 +1,32 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System; #if UNITY_EDITOR using UnityEditor; #endif using UnityEngine; -using Object = UnityEngine.Object; namespace net.fushizen.modular_avatar.core { diff --git a/Packages/net.fushizen.modular-avatar/Runtime/RuntimeUtil.cs b/Packages/net.fushizen.modular-avatar/Runtime/RuntimeUtil.cs index f65503ab..7240f693 100644 --- a/Packages/net.fushizen.modular-avatar/Runtime/RuntimeUtil.cs +++ b/Packages/net.fushizen.modular-avatar/Runtime/RuntimeUtil.cs @@ -1,4 +1,28 @@ -using System; +/* + * MIT License + * + * Copyright (c) 2022 bd_ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +using System; using System.Collections.Generic; using System.Reflection; using JetBrains.Annotations;