docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SerializeToFile

    SerializeToFile(string)

    Serializes the scenario's constants and randomizer settings to a JSON file located at the path resolved by the defaultConfigFilePath scenario property

    Declaration
    public virtual void SerializeToFile(string filePath)
    Parameters
    Type Name Description
    string filePath

    The file path to serialize the scenario to

    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)