Auto Reference Attribute


Auto-assign Unity references instantly no drag, no GetComponent(), no runtime cost. Just add [AutoReference], pick where to search, and let the tool do the magic. Clean. Fast. Reliable.


by Ramdal Games Studios


Price History +

Tired of losing references or cluttering your scripts with GetComponent() calls?


AutoReference does the work for you automatically assigning components and GameObject references directly in the Unity Editor, before your game even runs.


Simply add the [AutoReference] attribute, choose where to search (Self, Children, Parents, Scene, or Resources), and your references are instantly found and assigned no manual drag-and-drop, no runtime overhead.

Zero runtime cost runs only in the Editor.


Cleaner code no more messy initialization logic.


Fully customizable supports name, index, inactive objects & visibility filters.


Safer & faster prevents missing refs and stuttering from GetComponent() calls.


Whether you're a solo dev or part of a large team, AutoReference keeps your workflow smooth, efficient, and reliable.