berend
❔ getting all methods with an attribute in an optimized way
hey all, im trying to find a way to add all methods with an attribute to dictionary. i want to be able by entering a string in a console window for debugging purposes in unity.
example of a methods im trying to find:
this is my current way of finding all methods with an attribute:
it works, but is obviously not very performant (takes multiple seconds to run this method). although i have seen other unity packages that dont seem to have any performance impact, so im sure its possible do it some other way. any help would be
18 replies