SceneHandle
Handle to a scene. This is a wrapper around an EntityId.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<SceneHandle>, IFormattable
public struct SceneHandle : IEquatable<SceneHandle>, IFormattable
Static Properties
Property | Description |
|---|---|
| None | The default value of a SceneHandle that is empty. |
Methods
Method | Description |
|---|---|
| Equals | Test two SceneHandle for equality. |
| GetHashCode | The hash code of the SceneHandle from the EntityId it wraps. |
| GetRawData | Gets the raw data of a SceneHandle (prefer to store the SceneHandle directly, and only use this as a fallback). |
| ToString | Returns a string representing the EntityId wrapped by the SceneHandle. |
Static Methods
Method | Description |
|---|---|
| FromRawData | Converts a ulong (raw data), into a SceneHandle. |
Operators
Operator | Description |
|---|---|
| operator == | Test two SceneHandle for equality. |
| operator != | Test two SceneHandle for inequality. |