CG数据库 >> 轻量级的喷油器框架脚本Unity游戏素材资源

本游戏资料是个关于轻量级的喷油器框架脚本Unity游戏素材资源,大小:26.1 MB,格式:unitypackage,使用软件:Unity,供广大设计师学习使用,语言:英语。

Unity3D是一个让你轻松创作的多平台的游戏开发工具,是一个全面整合的专业游戏引擎。Unity代表了一个质的飞跃——内置的光照贴图(lightmapping)、遮挡剔除(occlusion culling)和调试器。编辑器经过彻底革新,让你可以获得卓越的性能体验。不可思议、无法阻挡的产品已经看到了曙光。

Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具,它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity,请查看Unity 3都做了哪些更新。如果你是第一次尝试,那就好好看看吧,看Unity都能为你带来什么。Unity作为一种开发环境,可让你脱离传统的游戏开发方式,以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏,Unity都能完全胜任。

Injector Scripting

Ruslan Kudriachenko

Requires Unity 5.3.0 or higher.

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;

轻量级的喷油器框架脚本Unity游戏素材资源的图片1
轻量级的喷油器框架脚本Unity游戏素材资源的图片2
轻量级的喷油器框架脚本Unity游戏素材资源的图片3

发布日期: 2017-12-7