Skip to content

Commit

Permalink
feat: Add UPM configuration (#11)
Browse files Browse the repository at this point in the history
* Added package.json to make Mirror compatible with unity package manager

* Update link and add chat example
  • Loading branch information
paulpach committed Dec 31, 2019
1 parent 0158e2a commit 9280af1
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
49 changes: 49 additions & 0 deletions Assets/Mirror/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name":"com.vis2k.mirror",
"displayName":"Mirror",
"version":"4.0.0",
"unity":"2019.1",
"description":"MirrorNG is a high level Networking API for Unity, supporting different low level Transports.",
"author":"Paul Pacheco",
"repository":{
"type":"git",
"url":"https://github.com/MirrorNG/MirrorNG.git#upm"
},
"samples":[
{
"displayName":"Basic",
"description":"Basic",
"path":"Examples/Basic"
},
{
"displayName":"Pong",
"description":"Pong",
"path":"Examples/Pong"
},
{
"displayName":"Tanks",
"description":"Tanks",
"path":"Examples/Tanks"
},
{
"displayName":"Lobby",
"description":"Lobby",
"path":"Examples/Lobby"
},
{
"displayName":"Chat",
"description":"Chat",
"path":"Examples/Chat"
},
{
"displayName":"ListServer",
"description":"ListServer",
"path":"Examples/ListServer"
},
{
"displayName":"AdditiveScenes",
"description":"AdditiveScenes",
"path":"Examples/AdditiveScenes"
}
]
}
7 changes: 7 additions & 0 deletions Assets/Mirror/package.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9280af1

Please sign in to comment.