脚本/功能 Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程免费

插件名称:Injector 1.0插件官网:访问官网
版权协议:Red pine1.1解压密码:通用密码


Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程免费


Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程

Injector 1.0 unity3d asset Unitypackage插件论坛 unity3d教程












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;


游客,如果您要查看本帖隐藏内容请回复


作者 浪浪 发表于 2017-12-13 14:24:28

henry890307

66666666666666666
发表于 2017-12-18 09:48:17

1136386803

66666666666666
发表于 2018-4-13 11:13:46

%E7%95%AA%E8%8C%84%E5%92%8C%E6%A2%A8%E4%B8%80%E4%B8%AA%E4%BB%B7

Thanks~~~~~
发表于 2018-4-13 12:19:10

yl25349558

好的。看看棒极了
发表于 2020-3-5 23:46:38
您需要登录后才可以回帖 登录 | 立即注册
浪浪

关注0

粉丝198

发布2087

热门作品推荐
glow
Ultimate VFX 3.5.2 科幻火烟闪电暴风骤雨
glow
Treasure FX 1.41财宝藏钞票筹码金币宝石粒
glow
Stylized Fantasy Creatures Bundle 1.0 PB
glow
Stylized Fantasy Elementals Pack 1.0 风
glow
MK Glow 4.4.10 游戏物体自发光晕效果
glow
Cyber Effects - Floors 1.1 霓虹灯地板科
glow
Sci-Fi Neon Props Pack 1.0 科幻霓虹灯道
glow
【更新】Smart Library - Asset Manager 2.
glow
【更新】Unified Settings Game Options UI
glow
【更新】Low Poly Trees Vol2 Conifers 1.2