prefabを他のプロジェクトで使おうかなと思い。
他で使い回すときは ExportしてImportしたら良いのかな?と
Exportしてみる
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.22.21.png)
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.22.07.png)
include dependenciesチェックを外すと選択したprefabだけ選択されたので Exportしてみると
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.23.07.png)
unitypackageになりました。
Importしてみる
Assets > Import Package > Custom Package
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.28.45.png)
先程の unitypackageを選択
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.29.08-1024x683.png)
確認してimport
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.29.18-619x1024.png)
ちゃんと出来てました!(versionは同じなのでそのまま使えました。違っても互換性あれば使えるのかな?
![](https://grtlab.com/wp-content/uploads//2024/01/ss-2024-01-08-14.29.41.png)
コメント