脚本/功能 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
Low Poly Shooter Pack v4.1 4.1.0 unity射
glow
Hyper Casual Characters Stickman sphere
glow
树干树皮纹理细节笔刷51 Bark and Ring Tre
glow
墙面破损画笔墙壁破坏损坏笔刷Wall Damage
glow
真实石头岩石画笔65 real stone alpha brus
glow
怪兽尾巴曲线IMM笔刷TAILS - 33 Tail Meshe
glow
87个弓箭C4D白膜87 Bows and Arrows- Kitba
glow
生物舌头IMM画笔怪兽触角zbrush笔刷Tongues
glow
【更新】ShaderlabVS Pro 1.4.0
glow
【更新】Hand & Finger Tracking [Windows]