This tool is used to convert Unity constraints to VRC Constraints for all assets in your project.
プロジェクト内のすべてのアセットに含まれるUnity製ConstraintをVRCConstraintに変換するツールです。
In the tool window, you can exclude some folders or assets from the conversion process.
ツールのウィンドウでは、変換処理から除外したいフォルダやアセットを指定することができます。
【導入方法】
- Add anatawa12's vpm repository to your VCC, ALCOM, or other VPM client. this is the link to open VCC or ALCOM.
VCCやALCOMなどのVPMクライアントにanatawa12のVPMリポジトリを追加します。
このリンクからVCCやALCOMに追加することができます。 - Install
Project-Wide VRC Constraints Converterfrom the VCC, ALCOM, or other VPM client.
VCCやALCOMなどのVPMクライアントから、プロジェクトにProject-Wide VRC Constraints Converterをインストールします。
【使い方】
- Open the tool window:
Tools > Project-wide VRC Constraints Converter
Unityの画面上部メニューのTools→Project-wide VRC Constraints Converterからツールのウィンドウを開きます。 - Click the
Search files to convertbutton to find all assets in your project that have Unity constraints. This may take a while depending on the size of your project.
Search files to convertボタンをクリックすると、プロジェクト内のすべてのアセットからUnity製Constraintが使用されているものを探します。 プロジェクトが大きいと処理に時間が掛かることがあります。 - See list of files that will be converted.
If you want, you can manually exclude some files from the conversion process.
変換対象の一覧を見ることができます。 必要であれば、手動で一部のファイルを変換対象から除外することができます。 - Click the
Convertbutton to convert assets to VRC Constraints. This process is in-place, so it will overwrite the original assets. !!!Backup your project before clicking Convert Button!!!
Convertボタンを押すことでVRCConstraintへの変換を行います。
この処理は元のアセットを上書きするため、変換処理を行う前に必ずプロジェクトをバックアップしてください!!! - Done!
完了です!
【ライセンス】
MIT License
【実装を検討している機能】
- Back conversion (VRC Constraints to Unity Constraints)
逆変換 (VRCConstraintからUnity製Constraint)- This will be useful for porting your content to other platforms.
- This back conversion should not be project-wide, should be applied for specific assets or avatar.
- Auto convertion with NDMF or
IVRCSDKPreprocessAvatarCallback
NDMFやIVRCSDKPreprocessAvatarCallbackを使用した自動変換- Automatically convert constraints when building your avatar.
Initial release
Fixed error with broken prefab assets
Fixed some assets are not proceed correctly