Skip to content

Commit 253d031

Browse files
authored
Merge pull request #19 from DanAmador/master
OpenUPM support
2 parents 0b3a64d + 9d2b788 commit 253d031

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
README
22
======
3+
[![openupm](https://img.shields.io/npm/v/com.solidalloy.type.references?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.solidalloy.type.references/)
4+
35

46
A class that provides serializable references to `System.Type` with an accompanying custom property drawer which allows type selection from drop-down.
57

@@ -8,6 +10,28 @@ A class that provides serializable references to `System.Type` with an accompany
810
Whilst we have not encountered any platform specific issues yet, the source code in this repository *might* not necessarily work for all of Unity's platforms or build configurations. It would be greatly appreciated if people would report issues using the [issue tracker](https://github.com/SolidAlloy/ClassTypeReference-for-Unity/issues).
911

1012
This is a fork of the currently inactive project by Rotorz: [ClassTypeReference for Unity](https://bitbucket.org/rotorz/classtypereference-for-unity/src/master/)
13+
## Install with OpenUPM
14+
Once you have the OpenUpm cli run the following command:
15+
16+
```openupm install com.solidalloy.type.references```
17+
18+
Or if you don't have it add the scoped registry to the manifest.json with the desired dependency semantic version:
19+
```
20+
"scopedRegistries": [
21+
{
22+
"name": "package.openupm.com",
23+
"url": "https://package.openupm.com",
24+
"scopes": [
25+
"com.solidalloy.type.references",
26+
"com.openupm"
27+
]
28+
}
29+
],
30+
"dependencies": {
31+
"com.solidalloy.type.references": "2.1.0""
32+
},
33+
34+
```
1135

1236
## Install via Git URL
1337

0 commit comments

Comments
 (0)