Is there a way to add functions from class instances to triggers?
I organized my scripts so all scripts that were previously attached to the player are now instances of a single script. Today I realized that I can't add functions in these instances to event triggers and other components like it. Am I missing something? Is there a workaround for this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612055509im_/https://answers.unity.com/themes/thub/images/avi.jpg)