Skip to main content

Create Unity Package

✍ Last Updated : November 4, 2022

πŸšͺ Prequisite Knowledge (Optional)

Describe Initial Knowledge that reader need to know before reading this article

[Unity 3D](Unity 3D 5532e59028e74dd5938b01064478ba74.md)

[Unity 3D Assembly Definitions](Unity 3D Assembly Definitions 06bf451ce4db476887f64e1426d3f6b8.md)

❓ Key Question / Problem / Issue

Describe what question / Problem / Issue this knowledge should answer

βœ… Expected Output/Definition of Done

Define what information you really need and the definition of done

🎁 Resulting Solution

Write writing results below

  1. Go to Packages Folder Location in Explorer

    Untitled

  2. Create Your Package Folder (e.g. My Test Packages)

    Untitled

  3. Create package.json & package structure in the folder that you create

    Untitled

    See standard on [Agate Unity Package Standard](Agate Unity Package Standard ac17b70cbd114692bd8e163ce6d934d3.md) & Typical Package Structure

  4. Input file package.json with its Package Manifest. Unity detect package from its manifest.

  5. Edit package.json in Unity Editor if needed.

    Untitled

  6. Add Assembly Definition to include pre-compiled library

    Untitled

  7. Set assembly definition file name equals to package name (e.g. com.agatestudio.mytestpackages). Details about assembly definition can be found here

    Untitled

Read More

Creating custom packages