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

Sumbission failed

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

Close

Cancel

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

Parameters

assets The assets fetch new state for.
asset The asset path to fetch new state for.
recursively If 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.