My programming skills are a little rusty. I have forgotten how to do this could somebody post me a quick reminder.
I trying to do Ray cast all to the objects that I need to call the funcion. I know there’s an easier way but I can’t remember it.
Watch these 2. It will take 10 mins of your time and change your life forever.
https://unity3d.com/learn/tutorials/modules/intermediate/scripting/delegates
https://unity3d.com/learn/tutorials/modules/intermediate/scripting/events
1 Like