Version: 2020.3
public int instanceId ;

描述

The instance ID of the GameObject whose parent changed. Note that this is not the instance ID of the Transform component.