Publisher | Quevyn Games |
---|---|
File size | 6.30MB |
Number of files | 30 |
Latest version | 1.1.1 |
Latest release date | 2024-09-18 06:57:29 |
First release date | 2024-09-06 05:56:14 |
Supported Unity versions | 2018.4.2 or higher |
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)