popcron / gizmos

Used for drawing runtime gizmos in builds and editor (Unity3D)
MIT License
548 stars 43 forks source link

Gizmos.DrawRay #30

Open hackwar9x opened 2 years ago

hackwar9x commented 2 years ago

i dont find Gizmos.DrawRay in here , how can i put it in ?

popcron commented 1 year ago

there isnt an implementation for that, a workaround is to write it like

Ray ray;
Gizmos.DrawLine(ray.point, ray.point + ray.direction);

if the package is added as an embedded package, then the source can be added and a method to Gizmos can be added