Version: 2018.1
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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961