Auto-Reference Toolkit

Charis Marangos
Published

0
  • Project creator

Auto-Reference Toolkit is an open source Unity Editor extension designed to simplify retrieving, validating, and assigning references to assets or components at edit time.

It works by applying getter and validator attributes to fields. For example:
[GetInChildren, Name(“Example”)]
public GameObject[] go;

This will automatically retrieve all child GameObjects matching the given name.

The toolkit includes multiple built in getter and validator attributes, with the option to easily implement custom ones. Additional hooks and APIs allow full control over how and when references are resolved.

All operations happen strictly at editor time, with no runtime overhead. Reference retrieval and validation can be triggered on demand, such as when saving a scene, before a build, or directly through the inspector.

Available under the MIT license at
https://www.twine.net/signin