脚本/功能 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
【更新】SGSR Mobile - Upscaling for Unit
glow
【更新】Build Report Tool 3.13.3
glow
【更新】Odin Inspector and Serializer 4.
glow
Fantasy plants 1.0奇幻风格植物包
glow
Low Poly Mega City 1.0 低多边形建筑街道
glow
【更新】Village Environment Pack 2020.2
glow
EasyRoads3D Pro v3 3.2.1f4 道路创建插件
glow
Amazing World Fading 2.8 褪色效果渐变效
glow
【更新】PDF Renderer 5.31多平台PDF实时阅
glow
【更新】LIQUA Volumetric Fluids 1.5.2液