Version: 2022.3
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.