Version: 2019.2
Creating custom packages
Package layout

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. 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”.
Creating custom packages
Package layout
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961