docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FileProducer

    File write utility class that reports data written to the manager for uploading.

    Inheritance
    object
    FileProducer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    public static class FileProducer

    Methods

    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 © 2026 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)