I have a project with a lot of events called by triggers. I want to be able to select in the inspector certain functions that will be called at the right time. Up to this point would work well with the 4.6 UnityEvent from UnityEngine.Events.
The problem is that UnityEvent allows only one parameter and does not accept any type. I needed something that would show in the inspector any type, exactly how are shown public variables from components. I think I could solve the problem using reflection...
The possibility to select functions and their parameters in the inspector
The problem is that UnityEvent allows only one parameter and does not accept any type. I needed something that would show in the inspector any type, exactly how are shown public variables from components. I think I could solve the problem using reflection...
The possibility to select functions and their parameters in the inspector