Property stopLineAtFirstRaycastHit
stopLineAtFirstRaycastHit
Controls whether this behavior always cuts the line short at the first ray cast hit, even when invalid.
Declaration
public bool stopLineAtFirstRaycastHit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
The line will always stop short at valid targets, even if this property is set to false. If you wish this line to pass through valid targets, they must be placed on a different layer. true means to do the same even when pointing at an invalid target. false means the line will continue to the configured line length.