Unified Raycast - piotrulos/MSCModLoader GitHub Wiki
Unified Raycast for interaction
In version 1.3+ there is Unified Raycast system, instead of creating custom Raycast
or RaycastAll
for each mod (which can significantly reduce performace) you can access same values from signle place available in UnifiedRaycast
class, reducing raycasts to signle function.
More can be seen on API docs UnifiedRaycast