Naming your package
There are two names for a package: the official name you register the package with; and the user-facing display name that users can see in the Editor.
The display name should be brief but provide some indication of what the package contains. Otherwise, the Unity Package Manager imposes no restrictions on the display name.
The official name must conform to the Unity Package Manager naming convention, which uses reverse domain name notation. The name must:
- Start with com.<company-name>. For example, one of the official Unity packages is “com.unity.timeline”.
- Be no more than 50 characters if you want it to be visible in the UI(User Interface) Allows a user to interact with your application. More info
See in Glossary. If the package name does not need to appear in the UI, the Unity Package Manager imposes a limit of 214 characters or less.
- Contain only lowercase letters, digits, hyphens(-), underscores (_), and periods (.)
- To indicate nested namespaces, suffix the namespace with an additional period. For example, “com.unity.2d.animation” and “com.unity.2d.ik”.
Did you find this page useful? Please give it a rating:
Copyright © 2023 Unity Technologies
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。