Skip to content

ErikRikoo/com.rikoo.interface-utilities

Repository files navigation

Interface Utilities - Unity

A package with utility classes to be able to drag and drop "interfaces" in Serialize Field

Installation

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 in Packages folder)

{
  "dependancies": {
    ...
    "com.rikoo.interface-utilities": "https://github.com/ErikRikoo/com.rikoo.interface-utilities.git",
    ...
  }
}

Updating

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 that manifest.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

How does it work

Suggestions

Feel free to suggest features by creating an issue, any idea is welcome !

About

Interface Utilities - Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages