Hi, i’m trying to write a custom inspector that has an option for the user to select a class or class/method combination.
For example I have a default jump method but the user may already have their own class with a jump method that has been customized to how their game will work. How do i provide a selector for them to choose their component that has the jump method on it? If you can give me a way to select the actual jump method too that would be amazing
I appreciate they will need to have their script as a component on the object in question and i could just get the user to type the name of the script but that is prone to user error and it would be nice to be able to do this drag and drop or via the selector window.