This commit is contained in:
DCFApixels 2025-03-03 17:16:16 +08:00
parent 5d3aab5c30
commit 196edffae8
2 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,7 @@ namespace DCFApixels
[IN(LINE)]
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)
{
RayFade(origin, direction * 3f);
@ -93,7 +93,7 @@ namespace DCFApixels
WidthOutLine(origin, end, size.x * 2f);
Setup(Color.SetAlpha(ShadowAlphaMultiplier)).Line(origin, end);
WireCube(end, rotation, size * 2f);
this.WireCube(end, rotation, size * 2f);
RaycastHit(hit);
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 442adce30e5fd8e4da0c243f5ba70a5d