Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SceneHandle

Handle to a scene. This is a wrapper around an EntityId.
Read time 1 minuteLast updated 9 days ago

Definition

public struct SceneHandle : IEquatable<SceneHandle>, IFormattable

Static Properties

Property

Description

NoneThe default value of a SceneHandle that is empty.

Methods

Method

Description

EqualsTest two SceneHandle for equality.
GetHashCodeThe hash code of the SceneHandle from the EntityId it wraps.
GetRawDataGets the raw data of a SceneHandle (prefer to store the SceneHandle directly, and only use this as a fallback).
ToStringReturns a string representing the EntityId wrapped by the SceneHandle.

Static Methods

Method

Description

FromRawDataConverts a ulong (raw data), into a SceneHandle.

Operators

Operator

Description

operator ==Test two SceneHandle for equality.
operator !=Test two SceneHandle for inequality.