Skip to content

Commit bc34d85

Browse files
authored
Update README.md
1 parent 876bb23 commit bc34d85

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,35 @@
11
README
22
======
3-
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/)
44
A class that provides serializable references to `System.Type` with an accompanying custom property drawer which allows type selection from drop-down.
55

66
![screenshot](https://raw.githubusercontent.com/SolidAlloy/ClassTypeReference-for-Unity/master/.screenshot.png)
77

88
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).
99

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

1234
## Install via Git URL
1335

0 commit comments

Comments
 (0)