脚本/功能 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
KUBIKOS - Cube Monsters 1.0 立方体卡通怪
glow
沙滩沙地泥土水泥布矢量位移笔刷CLOTH VECT
glow
sp高细节划痕污点污渍水渍灰尘油漆纹理High
glow
City Skyline 2 城市建筑模型高楼大厦
glow
树叶蕨类柳枝条常春藤曲线笔刷Zbrush leaf
glow
服饰亮片珠饰花纹30 Sequin & Beed Work pa
glow
6个树叶子雕刻笔刷zbrush蔷薇花朵花瓣笔刷
glow
Sword Slash 1.0 刀光刀剑砍杀特效
glow
115组树皮和木材笔刷木头木质木纹树纹理雕
glow
次世代武器合集魔幻韩游冷兵器模型弓箭盾牌