Version: 2021.2
public int parentInstanceId ;

描述

The instance ID for the parent GameObject of the GameObject that has been destroyed.