Does the type of the next Game Object in the display list match that of the object being currently rendered?
type