文档

Unity Engine

Unity Engine

handle

A unique identifier for a loaded scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

public SceneHandle handle { get; }

Remarks

The identifier is only valid for referring to a loaded scene, and is not persistent. The same scene will have different identifiers after being reloaded, and across different engine sessions.
Additional Resources: isLoaded.