-
기존 Unity의 MonoBehaviour의 기능을 확장 시킨 루트 클래스입니다.
-
주요 기능
- AwakeCoroutine, EnableCoroutine 기능
- 외부에서 Awake 호출 ( 이미 Awake를 실행한 경우 한번 더 실행유무도 지원 )
- GetComponentAttribute 지원 ( Awake, Inspector 등에서 할당하지 않고 Attribute로 한줄 작성 )
- 자체적인 Update를 통해 Update를 사용하는 Object의 실시간 개수 파악과 퍼포먼스 개선
-
이 클래스를 상속받으면 GetComponentAttribute를 지원합니다.
- GetComponentAttribute는 GetComponent, GetComponentInParents, GetComponentInChildren이 있습니다.
- GetComponentInChildren은 자식 중 첫번째를 찾기, 이름으로 찾기, 복수형 자료형을 지원하며, Dictionary도 지원합니다.
- Dictionary의 경우 string을 키값으로 두면 오브젝트의 이름, Enum으로 두면 오브젝트의 이름을 Enum으로 파싱에 성공한 것들만 저장합니다. - 만약 하나도 못찾을 시 경고 로그를 출력합니다.
-
그 외 UnityEvent 함수를 가상함수로 지원합니다.
Repository navigation
ObjectBase
Directory actions
More options
Directory actions
More options
ObjectBase
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||

