Documentation

Unity Engine


Unity Engine


operator ==(Scene, Scene)

Returns true if the Scenes are equal.
Read time 1 minuteLast updated 8 days ago

Definition

public static bool operator ==(Scene lhs, Scene rhs)

Parameters

Returns

Type

Description

bool

Remarks

When a scene is loaded into memory, it can be referenced with a Scene struct. The equality operator checks if two Scene structs refer to the same scene in memory.