Injector View on Asset Store (opens in new tab)

Package details

Latest version
1.1
Last updated
First released
Unity version
2020.3.48 or later
Package size
25.5 MB
Files
144
Favorites
51
Views in the past week
9

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Injector

by Pirate Parrot (opens in new tab)

4.8 / 5 · 6 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 5
4 stars 1
3 stars 0
2 stars 0
1 star 0
  • Price drop

Tired on resolving all dependencies by GetComponent, FindObjectOfType.. etc? Let it do Injector!

Discount -100% Previous price $4.99 Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Injector, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 5

Injector screenshot 1

Injector screenshot 1

About this asset

Documentation

Tired on resolving all dependencies by GetComponent, FindObjectOfType.. etc? Let it do Injector!

What is Injector?

Injector is lightweight framework created to simplify development by removing monotonous tasks of initializing fields and resolving trivial dependencies from development process.

Features:

- Injects automaticaly by using attributes;

- Works with properies and fields;

- Works with single object field/property as well as with array or list of objects;

- Support interfaces as target for getting components;

- Don't require great scripting skills, easy to use;

- Supports resolving for custom structs and classes (even whole hierarchy of nested objects) that is declared in Unity objects as well as if not are not.

- Nicely documented;

- Works on all platforms including AOT and Web;

- No unneccesary allocations;

- Extremely performant;

- Flexible architecture allowing extention;

- Using reflection only for creating type descriptors;

Advantages:

- Makes your code more readable;

- Makes your code easier to support;

- Makes your code generally cleaner;

- Saves your time.

Available attributes:

- GetFromThis;

- GetInChildren;

- GetInParent;

- FindObjectByTag;

- FindObject; (by type)

- LoadFromResources;

- FromStaticMethod;

- FromMethod.

In plans:

- Research use cases and extend functionality further;

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2020.3.48f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.