刪除預(yù)設(shè)物中丟失的腳本組件
2022-04-27 15:35 作者:unity_某某師_高錦錦 | 我要投稿
在我們項(xiàng)目后期的時(shí)候可能因?yàn)樾┎僮鲗?dǎo)致刪除腳本文件.
刪除腳本文件之后,預(yù)設(shè)物上面關(guān)聯(lián)的文件會(huì)出現(xiàn)腳本丟失的問題.
如果一個(gè)一個(gè)的預(yù)設(shè)物刪除,不太現(xiàn)實(shí).
接下來可以通過下面的腳本來實(shí)現(xiàn)一鍵刪除.
Tip:
Script files may be deleted later in our project due to some operations.??
After deleting the script file, the file associated with the preset will lose the script.??
If the presets are deleted one by one, it is not realistic.??
The following script can then be used for one-click deletion.??
標(biāo)簽: