docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor StageRuntimeInterface

    StageRuntimeInterface(Func<bool, GameObject>, Func<Camera>, Func<Light>)

    Construct a StageRuntimeInterface

    Declaration
    public StageRuntimeInterface(Func<bool, GameObject> AddGameObject, Func<Camera> GetCamera, Func<Light> GetSunLight)
    Parameters
    Type Name Description
    Func<bool, GameObject> AddGameObject

    Callback to call when adding a GameObject

    Func<Camera> GetCamera

    Callback to call for getting the Camera

    Func<Light> GetSunLight

    Callback to call for getting the sun Light

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