文档

Unity Engine

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

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