unity.auto-attach: Auto attach components to serialized fields
Attaches components in editor when any MonoBehaviour selected, removed or added. Attaches only once, so there is almost no performance impact. You can also implement abstract AutoSetter class.
https://github.com/dythervin/unity.auto-attach
#editortool #requirecomponent #attach
Post #2007
186