No, not at this time. The optimising compiler should remove most unused functions (but not all, some are protected by Unity), and any assets not directly referenced should also be removed. Of course, that said, someone will pipe up and say “yeah, but in this particular instance I have this asset that isn’t stripped out.”
So with some help/digging, I found out about using list.xml to prevent things from being stripped - however I’m still pretty noobish when it comes to programming.
I’m getting “EXC_BAD_ACCESS” errors in XCode with this function:
Since “InverseTransformDirection” is the only thing in there that I could imagine being stripped, I assume that’s the problem.
So I tried doing this:
However, I’m still getting the same error. So my guess would be that I’m not doing the XML file properly (this is my first time using xml for anything).