Skip to content

SnoUweR/unity-component-replacer

Repository files navigation

Component Replacer

This utility allows you to replace the component with another component of the same class hierarchy. All properties that exist in both components are copied to the new component. Therefore we can easily replace a base component with any derivative, or a derived component to another derived component (or even to the base one) without having to connect all properties links again.

Installation

Requires Unity 2018.4+

Install via UPM (using Git URL)

  1. Navigate to your project's Packages folder and open the manifest.json file.
  2. Add this line below the "dependencies": { line
    • "ru.snouwer.component-replacer": "https://github.com/SnoUweR/unity-component-replacer.git",
  3. UPM should now install the package.

Video Examples

Default way without Component Replacer

Before.mp4

New way with Component Replacer

After.mp4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages