文档

Unity Engine

Unity Engine

assetGUIDs

Returns the guids of the selected assets.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string[] assetGUIDs { get; }

Remarks

When working with asset selection it is recommended to use this property since it also handles if folders were selected in the first column in the Project Browser (in Two Column Mode).