Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程免费
插件名称:Injector 1.0插件官网:访问官网
版权协议:Red pine1.1解压密码:通用密码
Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程,免费
http://i1.cfimg.com/11450/122f661c4b6bb4ee.jpg
http://i1.cfimg.com/11450/7b87fd9c705d9bff.jpg
http://i1.cfimg.com/11450/40fc4c37a7e6f295.jpg
http://i1.cfimg.com/11450/d8acb62ce742540e.jpg
Requires Unity 5.3.0 or higher.
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;
**** Hidden Message *****
66666666666666666 66666666666666 Thanks~~~~~ 好的。看看棒极了
页:
[1]