文档

Unity Engine

Unity Engine

SceneTag

A Unity-defined shared component assigned to all entities in the same subscene.
阅读时间1 分钟最后更新于 19 天前

Definition

public struct SceneTag : ISharedComponentData, IQueryTypeParameter, IEquatable<SceneTag>

Fields

Value

Description

SceneEntityThe root entity of the subscene.

Methods

Method

Description

EqualsTwo SceneTags are equal if they have the same root subscene entity.
GetHashCodeA unique hash code for comparison.
ToStringA string for logging.