Class FileNameGenerator
A class that provides a way to generate names of output files, with support for wildcards.
Inherited Members
Namespace: UnityEditor .Recorder
Assembly: solution.dll
Syntax
[Serializable]
public class FileNameGenerator
Properties
Name | Description |
---|---|
File |
Stores the default set of tags that make up the output file name. |
Force |
Specifies whether the generated file is saved in the Assets folder or not. |
Leaf | Indicates the filename part of the full path (without the extension). |
Root | Indicates the root location the paths are relative to. |
Methods
Name | Description |
---|---|
Add |
Adds a tag and the corresponding callback to resolve it. |
Build |
Builds an absolute path from the list of configured output file tags replaced by the RecordingSession. |
Create |
Creates the directory structure containing the output file from the list of tags and a RecordingSession. |
Sanitize |
Makes the output file path compliant with any OS (replacing any "" by "/"). |