Version: 2021.2
public int previousParentInstanceId ;

描述

The instance ID of the GameObject that was the previous parent of the target. Note that this is not the instance ID of its Transform.