11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
1/2
Jeringa simplifies dependency injection for scene-based objects.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本 | 内置渲染管线 | 通用渲染管线(URP) | 高清渲染管线(HDRP) |
---|---|---|---|
6000.0.23f1 | 兼容 | 兼容 | 兼容 |
2022.3.25f1 | 兼容 | 兼容 | 兼容 |
描述
Jeringa provides custom attributes to automatically fetch dependencies from different parts of your scene hierarchy without manually managing references. Simply mark fields in your scripts with attributes like [FromSelf], [FromType], [FromParent], and more, to define where dependencies should come from, and call Injector.Inject() to resolve them.
Key features:
- [FromSelf]: Fetch components from the same GameObject.
- [FromType]: Get components from any object of a specific type.
- [FromParent] and [FromChild]: Retrieve dependencies from parent or child objects in the hierarchy.
- [FromAny]: Access components from anywhere in the scene.
- [FromSibling]: Fetch dependencies from sibling GameObjects.
- Supports MonoBehaviour and non-MonoBehaviour classes (with some limitations).
技术细节
使用 AI 制作
Help with code.
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR