docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method invoke

    invoke(object, bool)

    Runs the action through reflection

    Declaration
    public object invoke(object data, bool forceSynchronous = false)
    Parameters
    Type Name Description
    object data

    The input if any

    bool forceSynchronous

    Should the execution of the action run explicitly on the main thread

    Returns
    Type Description
    object

    The output if the action has any

    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)