패키지에는 두 가지의 이름, 즉 패키지를 등록하는 공식 이름과 에디터에서 사용자들에게 표시되는 표시 이름이 있습니다.
표시 이름은 짧아야 하며 패키지에 포함된 내용을 암시해야 합니다. 그 외에는 Unity 패키지 관리자가 표시 이름에 아무런 제한도 가하지 않습니다.
공식 이름은 역순 도메인 이름 표기법을 사용하는 Unity 패키지 관리자 명명 규칙을 준수해야 합니다. 이름은 다음 사항을 충족해야 합니다.
com.example
또는 net.example
).예를 들어 “com.unity.2d.animation”과 “com.unity.2d.ik”는 두 가지 Unity 2D 패키지 이름이지만 https://example.net의 커스텀 패키지 개발자는 이름이 “net.example.physics”인 패키지를 생성할 수도 있습니다. 패키지 이름에 회사 이름을 직접 사용합니다. 패키지 이름에 접두사로 “unity”를 사용하면 안 됩니다.
참고: 이러한 명명 제한은 패키지 이름 자체에만 적용되며 코드의 네임스페이스와 일치시키지 않아도 됩니다. 예를 들어 net.example.3d.base라는 이름의 패키지에 Project3dBase
를 네임스페이스로 사용해도 됩니다.
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.