A package with utility classes to be able to drag and drop "interfaces" in Serialize Field
To install this package you can do one of this:~~~~
-
Using Package Manager Window
- Opening the Package Manager Window: Window > Package Manager
- Wait for it to load
- Click on the top left button
+
> Add package from git URL - Copy paste the repository link
- Press enter
-
Modifying manifest.json file Add the following to your
manifest.json
file (which is under your project location inPackages
folder)
{
"dependancies": {
...
"com.rikoo.interface-utilities": "https://github.com/ErikRikoo/com.rikoo.interface-utilities.git",
...
}
}
Sometimes Unity has some hard time updating git dependencies so when you want to update the package, follow this steps:
- Go into
package-lock.json
file (same place thatmanifest.json
one) - It should look like this:
{
"dependencies": {
...
"com.rikoo.interface-utilities": {
"version": "https://github.com/ErikRikoo/com.rikoo.interface-utilities.git",
"depth": 0,
"source": "git",
"dependencies": {},
"hash": "hash-number-there"
},
...
}
- Remove the "com.rikoo.interface-utilities" and save the file
- Get back to Unity
- Let him refresh
- Package should be updated
Feel free to suggest features by creating an issue, any idea is welcome !