文档

Unity Engine

Download Unity

Unity Engine

RuntimeGlobalObjectId

Runtime version of the editor type GlobalObjectId. These types need to be binary compatible.
阅读时间1 分钟最后更新于 19 天前

Definition

public struct RuntimeGlobalObjectId : IEquatable<RuntimeGlobalObjectId>, IComparable<RuntimeGlobalObjectId>

Fields

Value

Description

AssetGUIDAsset GUID.
IdentifierTypeIdentifier type.
SceneObjectIdentifier0Unique identifier within a scene
SceneObjectIdentifier1Unused.

Properties

Property

Description

IsValidTrue if the id is valid.

Methods

Method

Description

GetHashCodeReturns the hash code of this id.
ToStringConverts the id to a string representation.".