mirror of
https://github.com/DCFApixels/Unity-DebugX.git
synced 2025-09-19 02:24:36 +08:00
stash
This commit is contained in:
parent
5d3aab5c30
commit
196edffae8
@ -82,7 +82,7 @@ namespace DCFApixels
|
|||||||
[IN(LINE)]
|
[IN(LINE)]
|
||||||
public DrawHandler BoxCast(Vector3 origin, Vector3 direction, Quaternion rotation, Vector3 size, RaycastHit hit)
|
public DrawHandler BoxCast(Vector3 origin, Vector3 direction, Quaternion rotation, Vector3 size, RaycastHit hit)
|
||||||
{
|
{
|
||||||
WireCube(origin, rotation, size * 2f);
|
this.WireCube(origin, rotation, size * 2f);
|
||||||
if (hit.collider == null)
|
if (hit.collider == null)
|
||||||
{
|
{
|
||||||
RayFade(origin, direction * 3f);
|
RayFade(origin, direction * 3f);
|
||||||
@ -93,7 +93,7 @@ namespace DCFApixels
|
|||||||
|
|
||||||
WidthOutLine(origin, end, size.x * 2f);
|
WidthOutLine(origin, end, size.x * 2f);
|
||||||
Setup(Color.SetAlpha(ShadowAlphaMultiplier)).Line(origin, end);
|
Setup(Color.SetAlpha(ShadowAlphaMultiplier)).Line(origin, end);
|
||||||
WireCube(end, rotation, size * 2f);
|
this.WireCube(end, rotation, size * 2f);
|
||||||
|
|
||||||
RaycastHit(hit);
|
RaycastHit(hit);
|
||||||
}
|
}
|
||||||
|
2
Runtime/Utils/DrawHandlers.cs.meta
Normal file
2
Runtime/Utils/DrawHandlers.cs.meta
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 442adce30e5fd8e4da0c243f5ba70a5d
|
Loading…
Reference in New Issue
Block a user