Struct SequencedPathName
Utility class to generate filenames with a sequence number.
Inherited Members
Namespace: Unity.Simulation
Assembly: Unity.Simulation.Core.dll
Syntax
public struct SequencedPathName
Constructors
SequencedPathName(string, bool)
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.. |
| bool | 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 |