Publisher | Pirate Parrot |
---|---|
File size | 26.01MB |
Number of files | 143 |
Latest version | 1 |
Latest release date | 2017-05-22 11:23:22 |
First release date | 2017-05-22 11:23:22 |
Supported Unity versions | 2018.4.2 or higher |
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;