playMaker

Author Topic: Array List Contains  (Read 1050 times)

drakwon

  • Playmaker Newbie
  • *
  • Posts: 34
Array List Contains
« on: March 15, 2018, 07:10:42 PM »
I have game objects being added to an Array list, but when I am adding more of those game objects im using ArrayList contains, but it doesnt find the previous items.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Array List Contains
« Reply #1 on: March 16, 2018, 02:31:31 AM »
Hi
if the objects are clones they are not the same objects.
It will only find the exact same object, not a copy of it