FacesOfMu
Member
Hi all,
I've got an object that seems to change it's layer to -1 at some point and I can't find out where this happens. I've tried searching all uses of the word "layer" in my code to see what each line does, and nothing seems to indicate where the change is happening. I've even added a debug string to the object's step event and I can see when it changes, I just can't find where in my code this happens.
What can cause an object's layer to become -1, and is there any way of finding out what line of code changes it?
Cheers!
I've got an object that seems to change it's layer to -1 at some point and I can't find out where this happens. I've tried searching all uses of the word "layer" in my code to see what each line does, and nothing seems to indicate where the change is happening. I've even added a debug string to the object's step event and I can see when it changes, I just can't find where in my code this happens.
What can cause an object's layer to become -1, and is there any way of finding out what line of code changes it?
Cheers!