SceneTag
A Unity-defined shared component assigned to all entities in the same subscene.
Read time 1 minuteLast updated a day ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: ISharedComponentData, IQueryTypeParameter, IEquatable<SceneTag>
public struct SceneTag : ISharedComponentData, IQueryTypeParameter, IEquatable<SceneTag>
Fields
Value | Description |
|---|---|
| SceneEntity | The root entity of the subscene. |
Methods
Method | Description |
|---|---|
| Equals | Two SceneTags are equal if they have the same root subscene entity. |
| GetHashCode | A unique hash code for comparison. |
| ToString | A string for logging. |