Version: 2022.3

Provider.ChangeSetMove

切换到手册
public static VersionControl.Task ChangeSetMove (VersionControl.AssetList assets, VersionControl.ChangeSet changeset);
public static VersionControl.Task ChangeSetMove (VersionControl.Asset asset, VersionControl.ChangeSet changeset);
public static VersionControl.Task ChangeSetMove (VersionControl.AssetList assets, string changesetID);
public static VersionControl.Task ChangeSetMove (VersionControl.Asset asset, string changesetID);

参数

assets List of Assets to move to changeset.
changeset Changeset to move an Asset to.
asset 要移动到变更集的资源。
changesetID ChangesetID to move an Asset to.

描述

Move an Asset or a list of Assets from their current changeset to a new changeset.

E.g. in Perforce checked out Assets can be moved to a changeset other than the default changeset.