Version: 2022.3
public int instanceId ;

描述

The instance ID of the GameObject that has been destroyed.