Interface ITrackingProximity<T>
Able to listen for a certain type of object to enter or leave the proximity, and keeps a list of objects currently in proximity.
public interface ITrackingProximity<T> : IEventBasedProximity<T>, IProximity, IShapeVolume, ICloneable
Type Parameters
T
- Inherited Members
-
IShapeVolume.containsPoint(Vector3)IShapeVolume.worldBoundsIShapeVolume.internalVolumeIShapeVolume.surfaceArea
- Extension Methods
Properties
ActiveObjects
List of all objects currently in proximity.
IReadOnlyList<T> ActiveObjects { get; }
Property Value
Remarks
This should be updated before OnObjectEntered and OnObjectExited are updated.
Methods
Contains(T)
If this object is in proximity.
bool Contains(T obj)
Parameters
objT