docs.unity3d.com
    Show / Hide Table of Contents

    Struct SequencedPathName

    Utility class to generate filenames with a sequence number.

    Namespace: Unity.Simulation
    Syntax
    public struct SequencedPathName

    Constructors

    SequencedPathName(String, Boolean)

    Constructs a SequencePathName object with path, and optional sequence number.

    Declaration
    public SequencedPathName(string path, bool addSequenceNumber)
    Parameters
    Type Name Description
    String path

    The path to the file on the local file system..

    Boolean addSequenceNumber

    When true, appends an auto incrementing sequence number before the extension.

    Methods

    GetPath()

    Get a full path to the file with sequence number appended if addSequence number is enabled.

    Declaration
    public string GetPath()
    Returns
    Type Description
    String

    string of the path to the file

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023