EasyVirtualMotionCaptureForUnity icon indicating copy to clipboard operation
EasyVirtualMotionCaptureForUnity copied to clipboard

UPM(Unity Package Manager)をサポートする

Open sh0ou opened this issue 5 months ago • 0 comments

Unity Package Managerに対応し、インポートと更新を容易にする変更を提案します。 これにより、OpenUPM等を通して「EVMC4U」を容易に管理することが可能となります。 ルートパスが/Assets/から/Packages/com.gpsnmeajp.evmc4u/に変更されることを想定しています。

変更点

Package.jsonの追加

https://github.com/gpsnmeajp/EasyVirtualMotionCaptureForUnity/pull/5/commits/64b58bbd9efe397ca0245ce4fd4db350e59db379

パスの変更(Unity推奨レイアウトに準拠)

https://github.com/gpsnmeajp/EasyVirtualMotionCaptureForUnity/pull/5/commits/5051a6f8ecda53f5e00a74723a1017170de2902f

  • /EVMC4U/Editor -> /com.gpsnmeajp.evmc4u/Editor
  • /EVMC4U/Test -> /com.gpsnmeajp.evmc4u/Tests
  • /EVMC4U/*.cs -> /com.gpsnmeajp.evmc4u/Runtime/*.cs
  • /EVMC4U/SampleScripts/ -> /com.gpsnmeajp.evmc4u/Samples~/SampleScripts (Package ManagerのSamplesタブよりアクセス可能)
  • /extra -> /com.gpsnmeajp.evmc4u/Samples~/SampleScripts/extra

Assembly Definitionファイルの追加

https://github.com/gpsnmeajp/EasyVirtualMotionCaptureForUnity/pull/5/commits/5b73c7dd4747acaf9bb98edcfee2fe3ab19c56ef

各スクリプトの依存関係を明確にするため。

.metaファイルを監視対象に追加

https://github.com/gpsnmeajp/EasyVirtualMotionCaptureForUnity/pull/5/commits/21bc956b4895d4868c1cf36bea430bb612409247

依存関係を保持するため。

sh0ou avatar Sep 11 '24 13:09 sh0ou