docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Write

    Write(string, Array, bool, bool)

    Write the data to the file system and inform the consumers for uploading it to the cloud.

    Declaration
    public static bool Write(string path, Array data, bool uploadSynchronously = false, bool isArtifact = true)
    Parameters
    Type Name Description
    string path

    Full path to the file.

    Array data

    An array of data

    bool uploadSynchronously

    boolean indicating if the upload needs to happen synchronously.

    bool isArtifact

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

    Returns
    Type Description
    bool

    boolean indicating if the write was successful

    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)