脚本/功能 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
InTerra ~ Terrain Features 3.1.0 物体与
glow
Low Poly Cartoon House Interiors 1.41低
glow
15000幅故宫博物院馆藏国画合集 山水人物花
glow
【更新】Volumetric Light Beam 2.2.3体积
glow
Victorian VOL.1 - Furniture (Nanite and
glow
Anemoia Manor 适配UE5.4+怀旧复古庄园室内
glow
【更新】GIBLION 2024 Anime-NPR-Toon Fram
glow
【更新】Auto Hand - VR Physics Interacti
glow
【更新】Ragdoll Animator 2 1.0.3
glow
【更新】BG Database Data editor with Go