docs.unity.cn
    Show / Hide Table of Contents

    Method GetSceneGUID

    GetSceneGUID(String)

    Get the guid for a scene path or name. This is a slow method - it is best to use the guid directly.

    Declaration
    public Hash128 GetSceneGUID(string scenePath)
    Parameters
    Type Name Description
    String scenePath

    The scene path or name.

    Returns
    Type Description
    Hash128

    True if the scene guid exists.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021