Version: 2018.2

ObjectIdentifier

struct in UnityEditor.Build.Content

Switch to Manual

Description

Struct that identifies a specific object project wide.

Note: this struct and its members exist to provide low-level support for the Scriptable Build Pipeline package. This is intended for internal use only; use the Scriptable Build Pipeline package to implement a fully featured build pipeline. You can install this via the Unity Package Manager.

Variables

filePathThe file path on disk that contains this object. (Only used for objects not known by the AssetDatabase).
fileTypeType of file that contains this object.
guidThe specific asset that contains this object.
localIdentifierInFileThe index of the object inside a serialized file.

Public Functions

EqualsReturns true if the objects are equal.
GetHashCodeGets the hash code for the ObjectIdentifier.
ToStringReturns a nicely formatted string for this ObjectIdentifier.

Operators

operator !=Returns true if the ObjectIdentifiers are different.
operator <Returns true if the first ObjectIdentifier is less than the second ObjectIdentifier.
operator ==Returns true if the ObjectIdentifiers are the same.
operator >Returns true if the first ObjectIdentifier is greater than the second ObjectIdentifier.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961