Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package.json so can use with Unity Package Manager #16

Closed
StewMcc opened this issue Apr 27, 2019 · 5 comments
Closed

Add package.json so can use with Unity Package Manager #16

StewMcc opened this issue Apr 27, 2019 · 5 comments

Comments

@StewMcc
Copy link

StewMcc commented Apr 27, 2019

Cool toolbox, any chance of adding package.json so can be used with Unity's Package Manager?
Shows what Unity latest version is and any dependencies it has as well.

{
  "name": "com.mybox",
  "displayName": "MyBox",
  "version": "0.0.1",
  "unity": "2018.3",
  "description": "DeadCows My Box",
  "dependencies": {
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0"
  }
}

mob-sakai upm extension:
https://github.com/mob-sakai/UpmGitExtension/tree/upm
and his tutorial for the custom branch for upm, may be easier for maintaining:
https://www.patreon.com/posts/25070968

@Deadcows
Copy link
Owner

Deadcows commented May 4, 2019

Interesting idea! I'll check this out, thanks

@KorDum
Copy link

KorDum commented Aug 7, 2019

Please add like these h8man/NavMeshPlus#12

@Deadcows
Copy link
Owner

Sorry for this delay guys. I dug into this and seems like package.json is fine but when I change version I see no upsates in Package Manager and no version history 😨 I made it without extra brunch however...

Dependency should look like this:
"com.mybox": "https://github.com/Deadcows/MyBox.git#master"
But as far as you wont see any new versions I not recommend to use it yet

@KorDum
Copy link

KorDum commented Aug 11, 2019

It works fine! Thanks!

@Deadcows
Copy link
Owner

Now with the latest version of MyBox you'll receive message if there is update available!
And you're able to update UPM version with "Tools/MyBox/Update window"

So please download latest version :)

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

No branches or pull requests

3 participants