RaycastPreview
A class in Root.Township, the global namespace.
Editor helper that draws a gizmo raycast forward from the object: green to the hit with a blue normal, red if nothing is hit.
- Listed in Global namespace: Q to R
- Inherits or implements
MonoBehaviour - Attributes
ExecuteInEditMode
Constructors
| Member | What it is |
|---|---|
RaycastPreview() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |