No More Public References - Final Dependency
Quevyn Games
$4.99
$9.99
50%OFF
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
09/07(2024) |
4.99 |
09/17(2024) |
9.99 |
09/20(2024) |
4.99 |
11/22(2024) |
4.99 |
Jump AssetStore
FinalDependency is a quick and easy way to avoid painfull public assignation and give you more time to focus on the gameplay.Why Use This Package?Be done with public references. With this package, you will be able to remove unnecessary editor links and automate what you can't remove. With minimalistic approach (you have 5 words to memorize).The 4 keywords for public reference removal:[Inject]: Replaces "public" references of unique scripts in your code and remove it from Unity Editor.[Provide]: Turn a script into a service (A script that is unique in the scene). Services can be injected into other components. You can also master their lifecycle execution order.SMonoBehaviour: A custom MonoBehaviour that allow Inject to be working.Awaking: A lifecycle hook that must be used instead of Awake calls in SMonoBehaviour classes.The 1 keyword for public reference automation to gain hours of painfully useless work : [AutoButton]: Put it above a function on any of your MonoBehaviour scripts. Put the logic of fetching component in that function. A button will appear named "Auto Configure". Check out the prefab NoMoreRefPlugin, there is a button to update ALL references in the scene that have [AutoButton]. Going further:Don't forget to like & subscribe for more Unity tips ! Tutorial [Here](https://youtu.be/aiIt9UQNozs)FeaturesA first big step to a world where you have less public refs to break or worry about.Just 3 lines and the magic happen. No script creation needed.Bonus : Master in a blink the order of execution of your scripts and be reassured that everything is playing in the right order.Supported OSAllLink to documentationAll the documentation holds in one picture above.Also there is a mindmap included in the package if you want to understand what is actually happening.I used chatgpt to explore further possibilities and try to keep the package at the minimum effort so you you can focus on coding good stuff instead of thinking about how to pass a reference.