文档

Unity Engine

Unity Engine

operator ==(Scene, Scene)

Returns true if the Scenes are equal.
阅读时间1 分钟最后更新于 1 个月前

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.