Scene.operator ==

public static bool operator ==(SceneManagement.Scene lhs, SceneManagement.Scene rhs);

Description

Returns true if the Scenes are equal.

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.


Did you find this page useful? Please give it a rating: