Version: 2018.2

MonoBehaviour.OnTransformParentChanged()

Switch to Manual

Description

This function is called when the parent property of the transform of the GameObject has changed.