Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsPathVersioned(string)

Allows you to check whether the specified file is tracked by version control.
Read time 1 minuteLast updated 5 days ago

Definition

public static bool IsPathVersioned(string path)

Parameters

path

Path to the file.

Returns

Type

Description

booltrue if the file should be tracked by VCS. false otherwise.

Remarks

For example, files in your Assets folder are usually tracked, while files in your Library folder are not.