No More Public References – Final Dependency


FinalDependency is a quick and easy way to avoid painfull public assignation and give you more time to focus on the gameplay.


by Quevyn Games


Price History +

Why Use This Package?

You aim to create your game quickly and effectively, yet common issues like losing references to public variables or cumbersome singleton patterns can drain your energy and complicate your codebase.

FinalDependency is designed to tackle these issues head-on, providing a robust solution to manage dependencies cleanly and efficiently.


Master your code with just 4 keywords:

  • [Inject] private readonly YourService _yourService: Automate dependency injection to keep your components decoupled and initialization straightforward.
  • [Provide]: Define services that are automatically available to other components via FinalDependency.
  • SMonoBehaviour: A custom MonoBehaviour base that leverages dependency injection.
  • Awaking: A lifecycle hook that works seamlessly with injected dependencies.

Going further:

FinalDependency addresses a significant portion of common dependency management challenges in Unity development.


This package is actually a part of a 2 step method.


I present the other part of my method to get definitely rid of public references in Unity HERE

Don't forget to like & subscribe for more Unity tips !