1
This commit is contained in:
@@ -28,6 +28,7 @@ namespace BITKit.Sensors
|
||||
[Header(Constant.Header.InternalVariables)]
|
||||
// ReSharper disable once FieldCanBeMadeReadOnly.Local
|
||||
private List<Collider> detected = new();
|
||||
public HashSet<int> Ignores { get; } = new();
|
||||
|
||||
private readonly Queue<Collider> triggerEnterQueue = new();
|
||||
private readonly Queue<Collider> triggerExitQueue = new();
|
||||
@@ -171,7 +172,7 @@ namespace BITKit.Sensors
|
||||
if (!agent || detectedContainer is null) return;
|
||||
if (BITAppForUnity.IsPlaying is false) return;
|
||||
detectedContainer.Clear();
|
||||
foreach (var x in agent.detected)
|
||||
foreach (var x in agent.Get())
|
||||
{
|
||||
ObjectField objectField = new()
|
||||
{
|
||||
|
Reference in New Issue
Block a user