Question by
TheHallucinations · May 09, 2020 at 06:42 AM ·
listoverlap
Overlapsbox has 2 of the same objeccts
I want to make it so that a overlapbox cannot at any time have 2 of the same objects added to a list. I have a list and i add objects to it with an overlapbox the overlapbox detect 6 objects but i only want 4. The problem? The overlapbox has 2 of the objects 2 times and i only want every object 1 time. Thank You for you're time in Advance.
Comment
Your answer
Follow this Question
Related Questions
Prevent spawning if the gameobject has same position as a list of Vector3s using another list? 1 Answer
Why Is this OverlapBox detecting its children 0 Answers
2D prefabs(Enemy) overlap issue 0 Answers
SpriteRenderer is not disabled(working with Lists) 0 Answers
Will GameObject remove from List.RemoveAt() destroy automatically? 1 Answer