This function is called when a direct or indirect parent of the transform of the GameObject has changed.