Merged
Conversation
클릭, 드래그, 마우스 Enter 등 다양한 상황에 대한 이벤트를 발생시켜주는 PointerHandler 스크립트 추가.
하나의 주제를 가진 UI 요소의 최상위 오브젝트가 가질 스크립트에 상속할 BaseUI 스크립트 추가. 하위 UI 요소에 대한 오브젝트/컴포넌트 접근 기능 및 PointerHandler를 통한 이벤트 접근 기능
전역적인 접근이 필요한 UI 요소를 가지고 있을 UIManager 스크립트 추가.
씬 로드시 자동으로 생성될 UIManager 프리팹을 Resources 폴더에 추가.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI 최상위 요소에 넣을 스크립트들에 상속할 BaseUI 구현.
핵심 Canvas들에 대한 전역적인 접근을 제공할 UIManager 구현.