T_MSCLoader_UnifiedRaycast - piotrulos/MSCModLoader GitHub Wiki
Unified Raycast, use this to get interaction raycast results
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.3.356
C#
public class UnifiedRaycast : MonoBehaviourView Source
| Inheritance | Object → Object → Component → Behaviour → MonoBehaviour → UnifiedRaycast |
| GetHit | Returns true if provided collider is hit as first element |
| GetHitAll | Returns true if provided collider is hit (checks against all colliders that raycast hits) |
| GetHitName | Returns name of the first raycast hit |
| GetHitNames | Returns names of all raycast hits |
| GetRaycastHit | Returns RaycastHit so you can parse it yourself |
| GetRaycastHits | Returns RaycastHit[] so you can parse it yourself |