Version: 2017.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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 method Status(assets: VersionControl.AssetList): VersionControl.Task;
public static VersionControl.Task Status(VersionControl.AssetList assets);
public static method Status(asset: VersionControl.Asset): VersionControl.Task;
public static VersionControl.Task Status(VersionControl.Asset asset);
public static method Status(assets: VersionControl.AssetList, recursively: bool): VersionControl.Task;
public static VersionControl.Task Status(VersionControl.AssetList assets, bool recursively);
public static method Status(asset: VersionControl.Asset, recursively: bool): VersionControl.Task;
public static VersionControl.Task Status(VersionControl.Asset asset, bool recursively);
public static method Status(assets: string[]): VersionControl.Task;
public static VersionControl.Task Status(string[] assets);
public static method Status(assets: string[], recursively: bool): VersionControl.Task;
public static VersionControl.Task Status(string[] assets, bool recursively);
public static method Status(asset: string): VersionControl.Task;
public static VersionControl.Task Status(string asset);
public static method Status(asset: string, recursively: bool): VersionControl.Task;
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.