docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Consume

    Consume(object, bool, bool)

    Called when data is availabl for consumption. All consumers are notified.

    Declaration
    void Consume(object data, bool synchronous = false, bool isArtifact = true)
    Parameters
    Type Name Description
    object data

    Typically this is a string path to a file.

    bool synchronous

    When true, the comsumption completes before the call returns.

    bool isArtifact

    A flag indicating if the data being consumed is an artifact or not.

    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)