Hi -
Hoping someone can shed some light on this.
I have an array of objects (using Arraymaker).
eg:
arr[0] = Object1
arr[1] = Object2
Based on some event, I destroy one of the gameobjects that is in the array list.
eg. Destroy Object 1
If I immediately query my array, the object is still in the array even though it was destroyed. If I put a few seconds delay before querying it, then the array list correctly reflects that it is no longer referencing the object.
eg. Querying immediately for arr[0] returns Object1. If I wait a few seconds and query arr[0] I get none (I expected to get none).
Why would it take time for the array to "wake up" to the fact that one of its member objects has been destroyed? That is, if I immediately query the array after the destroy, it still returns the object.
Thanks for any insight.
Chris