ProximityDetector.IsModeDetected Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determine whether the detector has detected the appropriate conditions.
public virtual bool IsModeDetected();
abstract member IsModeDetected : unit -> bool
override this.IsModeDetected : unit -> bool
Public Overridable Function IsModeDetected () As Boolean
Returns
Returns whether the appropriate conditions detected.
Implements
Remarks
This is safe to read at any time, even during FixedUpdate. However, as a result of its internal buffering, it will return true for one extra frame after all objects have left the detection zone.