implicit operator bool(CastResult)
Implicitly convert the cast output to a bool using the value in the PhysicsQuery.CastResult.hit flag.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Operator
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
implicit operator bool(Boolea)
public static implicit operator bool(PhysicsQuery.CastResult output)
Parameters
The CastResult to convert.
Returns
Type | Description |
|---|---|
| bool |