Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

VersionControl.Provider.ChangeSetMove

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 ChangeSetMove(assets: AssetList, changeset: ChangeSet): Task;
public static Task ChangeSetMove(AssetList assets, ChangeSet changeset);
public static def ChangeSetMove(assets as AssetList, changeset as ChangeSet) as Task
public static function ChangeSetMove(asset: Asset, changeset: ChangeSet): Task;
public static Task ChangeSetMove(Asset asset, ChangeSet changeset);
public static def ChangeSetMove(asset as Asset, changeset as ChangeSet) as Task
public static function ChangeSetMove(assets: AssetList, changesetID: string): Task;
public static Task ChangeSetMove(AssetList assets, string changesetID);
public static def ChangeSetMove(assets as AssetList, changesetID as string) as Task
public static function ChangeSetMove(asset: Asset, changesetID: string): Task;
public static Task ChangeSetMove(Asset asset, string changesetID);
public static def ChangeSetMove(asset as Asset, changesetID as string) as Task

Parameters

assets List of asset to move to changeset.
changeset Changeset to move asset to.
asset Asset to move to changeset.
changesetID ChangesetID to move asset to.

Description

Move an asset or list of assets from their current changeset to a new changeset.

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