최적화를 위해서는 게임 플레이 중에 오브젝트가 움직일 수 있는지 여부를 알아야 할 때가 있습니다. 정적 오브젝트가 포지션 변화로 인해 무효화될 일이 없다는 것을 알 수 있기 때문에 정적(Static)(움직이지 않는) 오브젝트를 에디터에서 미리 계산할 수 있는 경우가 종종 있습니다. 예를 들어, 여러 정적 오브젝트들을 배치(batch) 라는 하나의 큰 오브젝트로 결합시킴으로써 렌더링을 최적화할 수 있습니다.
게임 오브젝트의 인스펙터에는 맨 오른쪽 상단에 Static 체크박스 및 메뉴가 있으며 이를 통해 이 오브젝트가 움직이지 않을 것이라는 점을 Unity에 있는 여러 다른 시스템에 알릴 수 있습니다. 오브젝트는 각 시스템에 대해 개별적으로 정적 오브젝트라고 마크될 수 있으며 따라서 딱히 이점이 없을 경우에는 어떤 오브젝트에 대한 정적 최적화를 계산하지 않도록 선택할 수 있습니다.
Everything 과 Nothing 은 정보를 사용하는 모든 시스템의 정적 상태를 동시에 활성화 또는 비활성화합니다. 해당 시스템은 다음과 같습니다.
정적 설정이 성능에 미치는 영향에 대한 자세한 내용은 각 주제에 해당하는 페이지를 참조하십시오.
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.