文档

Unity Engine

Unity Engine

parentInstanceId

The instance ID for the parent GameObject of the GameObject that has been destroyed.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Removed. parentInstanceId is deprecated. Use parentEntityId instead.
public int parentInstanceId { get; }