Skip to content

Add Unity Package Manager (UPM) Support#151

Open
HoomanJCode wants to merge 2 commits intopnarimani:masterfrom
HoomanJCode:Convert-to-git-package
Open

Add Unity Package Manager (UPM) Support#151
HoomanJCode wants to merge 2 commits intopnarimani:masterfrom
HoomanJCode:Convert-to-git-package

Conversation

@HoomanJCode
Copy link

Add Unity Package Manager (UPM) Support

This update configures RTLTMPro as a native Unity package, making it directly installable via the Unity Package Manager using a Git URL.

Changes Made:

  • Added package.json inside the /Assets/RTLTMPro folder with proper UPM configuration
  • Updated repository structure for UPM compatibility

Installation:

Users can now install the package directly through Unity's Package Manager:

From this repository (after merge):

https://github.com/pnarimani/RTLTMPro.git?path=/Assets/RTLTMPro

From the forked repository (for testing):

https://github.com/HoomanJCode/RTLTMPro.git?path=/Assets/RTLTMPro#Convert-to-git-package

How to Install:

  1. Open Unity Package Manager (Window → Package Manager)
  2. Click the + button → "Add package from git URL..."
  3. Paste the repository URL above
  4. Click Install

Benefits:

  • Simplified workflow - Direct installation without external package managers
  • Version control integration - Easy updates and version management
  • Native Unity experience - Works seamlessly with Unity's built-in package system
  • Accessibility - No additional tools or registries required

Note on Version Management:

For future releases, remember to update the version field in package.json to maintain proper version tracking.

Compatibility:

This approach complements the existing OpenUPM distribution by providing an additional, more direct installation method while maintaining all current functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant