docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SlashMode

    Describes the different kinds of path separators that can be used when converting NPaths back into strings.

    Namespace: NiceIO.Sysroot
    Assembly: Unity.SysrootPackage.Editor.dll
    Syntax
    public enum SlashMode

    Fields

    Name Description
    Backward

    Use backslashes as path separators.

    Forward

    Use forward slashes as path separators.

    Native

    Use the slash mode that is native for the current platform - backslashes on Windows, forward slashes on macOS and Linux systems.

    In This Article
    Back to top
    Copyright © 2025 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)