文档

Unity Engine

Unity Engine

ChangeAssetObjectPropertiesEventArgs

Constructs a new instance.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

ChangeAssetObjectPropertiesEventArgs(GUID, EntityId, Scene)

Constructs a new instance.
public ChangeAssetObjectPropertiesEventArgs(GUID guid, EntityId entityId, Scene scene)

Parameters

guid

GUID
The GUID of the changed asset.

entityId


scene

The Scene that contains the modified asset.

ChangeAssetObjectPropertiesEventArgs(GUID, int, Scene)

Constructs a new instance.
警告
Removed. ChangeAssetObjectPropertiesEventArgs(GUID guid, int instanceId, Scene scene) is deprecated. Use ChangeAssetObjectPropertiesEventArgs(GUID guid, EntityId entityId, Scene scene) instead.
public ChangeAssetObjectPropertiesEventArgs(GUID guid, int instanceId, Scene scene)

Parameters

guid

GUID
The GUID of the changed asset.

instanceId

The instance ID of the modified asset.

scene

The Scene that contains the modified asset.