Method OnHit
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
OnHit(in RaycastHit)
Called once for each shape the ray reaches.
RaycastAction OnHit(in RaycastHit hit)Parameters
hitRaycastHit-
Where the ray met the shape.
Returns
- RaycastAction
-
What the cast should do next.