https://docs.unity3d.com/kr/530/ScriptReference/RequireComponent.html Unity - 스크립팅 API: RequireComponent RequireComponent를 사용하는 스크립트를 추가하면, 요구되는 컴포너트가 자동으로 해당 게임오브젝트에 추가됩니다. 설정 오류를 피하는 데 유용합니다. 예를 들어, 리지드 바디가 요구되는 스크립 docs.unity3d.com 사용 중인 프리팹에 꼭 필요한 없어서는 안 될 component를 실수로 제거하지 않도록 도와주는 class 간단한 예시로 ScrollRect과 ContentManage.cs 이 두 개의 component만 있는 object가 있을 때 ContentManage.cs에 #if UNITY_EDI..