Unity logo
取消
购物车
应用
Sell Assets

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).
技术细节

Features: Easily retrieve Components via Attributes

Supported OS: Windows/Linux/MacOS

使用 AI 制作

Help with code.

Jeringa Dependency Injector

(暂无评分)
11 users have favourite this asset
(11)
FREE
许可证类型
文件大小
46.9 KB
最新版本
1.1
最新发布日期
2025年1月7日
原始 Unity 版本
2022.3.25
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR