Version: 2019.2
LanguageEnglish
  • C#

Provider.Status

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static VersionControl.Task Status(VersionControl.AssetList assets);
public static VersionControl.Task Status(VersionControl.Asset asset);
public static VersionControl.Task Status(VersionControl.AssetList assets, bool recursively);
public static VersionControl.Task Status(VersionControl.Asset asset, bool recursively);
public static VersionControl.Task Status(string[] assets);
public static VersionControl.Task Status(string[] assets, bool recursively);
public static VersionControl.Task Status(string asset);
public static VersionControl.Task Status(string asset, bool recursively);

Parameters

assetsThe assets fetch new state for.
assetThe asset path to fetch new state for.
recursivelyIf any assets specified are folders this flag will get status for all descendants of the folder as well.

Description

Start a task that will fetch the most recent status from revision control system.

The updated assets can be access through the task once it has completed.