SceneHandle
Handle to a scene. This is a wrapper around an EntityId.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<SceneHandle>
public struct SceneHandle : IEquatable<SceneHandle>
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. |
| ToString | Returns a string representing the EntityId wrapped by the SceneHandle. |
Operators
Operator | Description |
|---|---|
| operator == | Test two SceneHandle for equality. |
| SceneHandle | Implicitly convert a int to SceneHandle, for backward compatibility. |
| int | Implicitly convert a SceneHandle to int, for backward compatibility. |
| uint | Implicitly convert a SceneHandle to uint, for backward compatibility. |
| operator != | Test two SceneHandle for inequality. |