AddComponentMenu 썸네일형 리스트형 [Unity3D] Attributes 설명 모음 알고 있으면 생산, 작업 효율성을 매우 높일 수 있는 attribute들을 unity에서 제공한다. 1) AddComponentMenu 기본적으로 스크립트는 유니티의 Component->Scripts 메뉴에 자동추가된다. 자동추가말고 아무데나 맘대로 넣고 싶으면 AddComponentMenu를 사용한다. [AddComponentMenu("Transform/Follow Transform")] public class FollowTransform : MonoBehaviour { } 2) ContextMenu 스크립트를 우클릭시 뜨는 context menu에 커맨드를 추가할 수 있다. public class ContextTesting : MonoBehaviour { /// Add a context menu na.. 더보기 이전 1 다음