Request for suggestions and comments on class loading functionality via reflection.
Hello many great developers!
I am very happy to know about this project. I am also trying to contribute to this open source community and I would like to suggest an idea and get your opinion.
Currently, when looking at the process of getting the type passed as a parameter in tools like 'ModifyObject', it looks for it through all assemblies using reflection, but I think it doesn't do what we want perfectly due to the nature of Unity. For example, if you try to get the 'Button' class, both 'UnityEngine.UI' and 'UnityEngine.UIElements' are candidates.
There are other reasons, but for this reason, working on Unity UI is relatively difficult. So my suggestion is to provide namespace priorities using the editor and operate with those priorities to find them as much as possible.
I'm currently implementing this idea, but if you have a better idea, please leave it here.
Happy development!
Hey @flashwade03, it's been a while since you opened this and there's been (and will be!) much more changes to the repo since then. Is this something you're still interested in? Is it something you've already done?
Let me know. I'd encourage you to join our Discord as well: https://discord.gg/y4p8KfzrN4