I just looked at on of my Modules that creates RaycastParams.
Only problem is that “Enum.RaycastFilterType.Blacklist” Doesn’t work anymore???
So what do I replace this with?
I noticed that “Enum.RaycastFilterType.Exclude” Is a thing. So is that how I would do it?
And is it the same as doing it with Blacklist? Or do I have to change values and stuff? All I know is,
I AM SO CONFUSED!!
Enum.RaycastFilterType.Blacklist and Whitelist were deprecated a while back and replaced with Include/Exclude, however iirc internally the deprecated Whitelist and Blacklist enums point towards the newer ones, so the script shouldn’t theoretically be broken. Enum.RaycastFilterType.Exclude is the same thing, so just replace Blacklist with Exclude and Whitelist with Include.