文档

Unity Engine

Unity Engine

CreateAssetObjectEventArgs

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

Definition

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

CreateAssetObjectEventArgs(GUID, EntityId, Scene)

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

Parameters

guid

GUID
The GUID of the new asset.

entityId


scene

The Scene that contains the new asset.

CreateAssetObjectEventArgs(GUID, int, Scene)

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

Parameters

guid

GUID
The GUID of the new asset.

instanceId

The instance ID of the modified asset.

scene

The Scene that contains the new asset.