캔버스 그룹은 UI 요소 그룹 전체의 특정 측면을 개별적으로 다룰 필요 없이 한 곳에서 제어하기 위해 사용합니다. 캔버스 그룹의 프로퍼티는 해당 게임 오브젝트뿐 아니라 모든 자식 오브젝트에도 영향을 미칩니다.
프로퍼티: | 기능: |
---|---|
Alpha | 그룹에 있는 UI 요소의 불투명도를 나타냅니다. 값은 01 사이이며 0이면 완전한 투명, 1이면 완전한 불투명입니다. 모든 요소는 고유의 투명도를 보유하고 있기 때문에, 캔버스 그룹의 알파값과 개별 UI 요소의 알파값은 서로 증대됩니다. |
Interactable | 컴포넌트가 입력을 받아들일지를 결정합니다. 거짓으로 설정될 경우 상호작용이 비활성화됩니다. |
Block Raycasts | 컴포넌트가 레이캐스트를 위한 콜라이더로 작동합니까? 캔버스에 부착된 그래픽 레이캐스터에서 레이캐스트 함수를 호출해야 합니다. Physics.Raycast에는 적용되지 않습니다. |
Ignore Parent Groups | 그룹이 게임 오브젝트 계층구조에서 더 상위에 있는 캔버스 그룹 컴포넌트의 설정을 영향을 받습니까, 아니면 이 설정을 무시하고 치환 합니까? |
캔버스 그룹은 일반적으로 다음의 경우에 사용됩니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.