Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/9
No more GetComponent calls or tedious inspector assignments - simply add the [Get] attribute, and it will automatically binds your components for you. Set it and forget it!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.46f1
Compatible
Compatible
Compatible
Description

AutoGetComponent is the ultimate runtime component binding solution for Unity. No more manual GetComponent calls or tedious drag-and-drop setups! Just decorate your fields with the [Get] attribute, optionally choose your binding strategy (from the same object, its children, or even climbing the parent hierarchy), and let our asset do the rest.


    Whether you’re prototyping fast or building a full-scale project, AutoGetComponent takes the hassle out of component binding .So you can focus on creating great gameplay. Perfect for indie developers and teams alike, this asset is an affordable and time-saving tool available on the Unity Asset Store.



Technical details
  • Simple to Use: Just add [Get] to any field that needs a component reference. It’s as easy as that!
  • Multi-Scene and Dynamic Support: Automatically works in every scene and even on newly instantiated prefabs (with the AutoGetComponentComponentsOnInstantiate component).
  • Performance-Optimized: Uses caching to reduce reflection overhead, ensuring smooth gameplay even in complex scenes.
  • Optional Log Messages: Easily enable or disable error messages for missing components, giving you full control over your debugging output.
  • Flexible Binding Options: Choose from several binding sources: 
    • FromSameObject: Get the component on the same GameObject.     
    • FromSameObjectThenChildren: First look on the same object, then among its children.      
    • FromParentThenAncestors: Search upward through the parent hierarchy.       
    • FromSameObjectThenParentThenAncestors: Try the same GameObject first, then the parents.


Auto Get Component

(not enough ratings)
2 users have favourite this asset
(2)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
197.6 KB
Latest version
1.1
Latest release date
Feb 27, 2025
Original Unity version
2022.3.46
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR