평점 만점의 리뷰가 11,000개 이상

8만 5천명 이상의 리뷰

10만명 이상의 포럼 멤버가 선호하는 에셋

유니티에서 모더레이팅하는 모든 에셋

1/5
Rucksack is a dependency injection solution for Unity 3d.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.22f1
Compatible
Compatible
Compatible
2019.3.5f1
Compatible
Compatible
Compatible
설명

We’ve used various dependency injection frameworks in and out of Unity. All of them have been cumbersome, requiring custom scripts and scene game objects that just obfuscate the problem.


Rucksack resolves the problem created by so many other DI framework by providing an easy to use attribute API. The attributes trigger the use of the GetComponent(s) service locator methods provided by Unity to resolve your game object dependencies for you.


Not only does Rucksack resolve your dependencies, but it has runtime checking to make sure the dependencies you are attempting to resolve don’t go unnoticed. If however you have an optional dependency, you can disable the runtime validation for that dependency.


* If you had Rucksack in your project previously (v1.0) please delete it before importing.

Technical details
  • Complete source code.
  • Inline Field and Property injection.
  • Resolve custom components and built-in Unity components.
  • Legible and easy to use Api.
  • No special Scene game objects or scripts required.
  • Set readonly properties.
  • Dependency injection from self, parent(s), and children.
  • Resolve a single component or a collection of components.
  • Runtime dependency validation.
  • Quick Start and Scripting documentation.

Rucksack

(평가가 충분하지 않습니다)
15 users have favourite this asset
(15)
FREE
라이선스
파일 크기
248.4 KB
최신 버전
2.0
최신 릴리스 날짜
2021년 11월 24일
원본 Unity 버전
2019.3.5
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
언어
어필리에이트 프로그램
멤버십링크 생성기어필리에이트 ID
Feedback
파트너 프로그램
협력사
USD
EUR
Copyright © 2025 Unity Technologies
모든 가격은 부가가치세를 제외한 금액입니다.
USD
EUR