This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Tools : Replace with Prefab 제안 #157
jshhhhh
started this conversation in
Check this feature
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
유니티에서 씬에 배치된 오브젝트 여러개를 한번에 다른 프리팹으로 교체할 수 있는 스크립트
사용 예시

ReplaceWithPrefab.cs
※ 주의사항
아무 오브젝트도 클릭하지 않은 채 Replace 버튼을 누르면 유니티가 꺼지는 오류ctrl + z로 되돌리면 유니티 꺼지는 오류빌드할 때 해당 스크립트가 들어가면 오류.빌드할 때 제외해야 함참고 :
https://m.blog.naver.com/ryuooe/221805719256
https://unity3d.college/2017/09/07/replace-gameobjects-or-prefabs-with-another-prefab/
Beta Was this translation helpful? Give feedback.
All reactions