docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnSceneLoaded

    OnSceneLoaded(Scene, LoadSceneMode)

    Called after the scene is loaded, after MonoBehaviour Awake

    Declaration
    void OnSceneLoaded(Scene scene, LoadSceneMode mode)
    Parameters
    Type Name Description
    Scene scene

    The scene that was loaded

    LoadSceneMode mode

    The mode used to load the scene

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)