Skip to content

Template to create new package

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

OpenSourceUnityPackage/PackageTemplate

Repository files navigation

Unity package template📦

Fully automated version management and package publishing

Build states semantic-release: angular License

Version LastActivity

What is it ?

Package template is a template repository to create quickly package for unity.

Unity package allow you to create independents features and include it like puzzle in your unity project to include its features.

This architecture is based on unity package layout presented here

I encourage you to create sample that can be imported independently thanks to unity package manager for more modularity. You can for example create demo, independent feature in your package theme... Sample folder contain character '~' that mean that this folder will be ignored by unity. All sample must be referenced in package.json.

Please don't change the license, and don't forget to update your changelog file and package version in package.json. For clear information about your package, make a demonstration, add description in GitHub and information in README.

How to create new package ?

Follow these step to create package based on this template:

1: Click on "Use this template" button to create a new repository based on this template. Capture d’écran 2022-03-05 210916

2: In this step, we need add information about package that will be used to generate your package thanks to github action.

  • Select the owner (by default you, if you want to create a package for this repository, please select OpenSourceUnityPackage). This repository name will be used to generate the package name.
  • Then enter your project name. This name is very important because it will be used to generate the package name inside unity. For example TestPackageUnity will become open-source-unity-package.test-package-unity according to unity convention.
  • Step 2, 3 and 4 are optional. You can add description, select public repository and include all branch (to include git flow).
  • Now click on "select repository from template" to done this process Capture d’écran 2022-03-05 211005

Well done ! Your package is now available. You can now develop it. Don't forgot to add complete description of it inside your README, unity and github to be community friendly ! May the opensource spirit guide your precious step ;D

Angular typo

<type>(<scope>): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: could be anything specifying title of the commit change in change log
  │
  └─⫸ Commit Type: feat, fix or perf, it will appear in the changelog.
              Build, ci, docs, style, refactor and test for non-changelog related tasks

The <type> and <summary> fields are mandatory, the (<scope>) field is optional.

Type

Must be one of the following:

  • Visible in changelog:

    • feat: A new feature
    • fix: A bug fix
    • perf: A code change that improves performance
  • Non-changelog related tasks

    • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
    • ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
    • docs: Documentation only changes
    • refactor: A code change that neither fixes a bug nor adds a feature
    • test: Adding missing tests or correcting existing tests

For example:

  • feat(FeatureName): create new feature
  • fix(Medium): fix an error
  • docs: update readme

For more information see and for resume see

About

Template to create new package

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published