playMaker

Author Topic: Problem with Destroying an Object and ArrayMaker  (Read 1159 times)

sturmburg

  • Playmaker Newbie
  • *
  • Posts: 12
Problem with Destroying an Object and ArrayMaker
« on: March 14, 2015, 08:24:22 PM »
Hi,

Just started using ArrayMaker and I have a question.  I have an array with 2 instances of the same object in it (they are cloned prefabs).  I then remove one of the objects from the array (which works fine, I see the object disappear from the array when the action is executed), but when I destroy the object I just removed (using Destroy Object) it also removes the other object from the array.

I tried getting the index of the object I am removing from the array and then calling the 'Array List Remove At' action instead, but didn't make a difference.

Any ideas?  Any help appreciated.

Thanks