Struct SceneReference
Component that references a scene.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public struct SceneReference : IComponentData, IQueryTypeParameter
Remarks
This component uses the unique GUID to identify the scene.
Constructors
| Name | Description |
|---|---|
| SceneReference(EntitySceneReference) | Builds a SceneReference from an EntitySceneReference. |
Fields
| Name | Description |
|---|---|
| SceneGUID | Unique GUID to identify the scene. |
Methods
| Name | Description |
|---|---|
| Equals(SceneReference) | Compares two SceneReference instances to determine if they are equal. |
| GetHashCode() | Computes a hashcode to support hash-based collections. |