Version: 2022.3
public int parentInstanceId ;

描述

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