I was wondering, is it possible code-wise for the Remove Component task to be similar to selecting a method, but only selecting the component? Attached is a screenshot per usual with what I mean, great paint skills haha.
I find for this case (possibly others once I start creating more tasks), that the experience could be improved if I was able to pull the component list and select one, directly from the reflected components, rather than adding to the Preferred Types and then selecting it from the menu.
Since components can be added dynamically after, I understand the preferred types existing for this, but if there was a way to combine them I think that’d be great and avoid navigating through nested menus when adding the task. (Similar to the change for inherited methods perhaps? i.e….
1
2
3
4
5
6
Remove Component
---
Select Component
->Preferred Types
->->List of preferred stuff
->Reflected components that exist on the gameobject
Would result in one Task to select instead of navigating through namespaces in the preferred types. Possibly useful for Get Component<T> as well.
Just a thought as I was going to remove a component just now haha
Author
Posts
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.