文档

Unity Engine

Unity Engine

ChangeSetMove

Starts a task that moves a list of assets from their current changeset to a specified changeset.
阅读时间2 分钟最后更新于 11 天前

Definition

ChangeSetMove(AssetList, ChangeSet)

Starts a task that moves a list of assets from their current changeset to a specified changeset.
public static Task ChangeSetMove(AssetList assets, ChangeSet changeset)

Parameters

assets

The list of assets to move.

changeset

The changeset to move the asset to.

Returns

Type

Description

TaskThe task that moves the assets to the changeset.

Remarks

Use this method to organize pending changes into changesets. For example, in Perforce you can move checked-out assets from the default changeset to another changeset.

ChangeSetMove(Asset, ChangeSet)

Starts a task that moves a single asset from its current changeset to a specified changeset.
public static Task ChangeSetMove(Asset asset, ChangeSet changeset)

Parameters

asset

The asset to move.

changeset

The changeset to move the asset to.

Returns

Type

Description

TaskThe task that moves the asset to the changeset.

Remarks

Use this method to organize pending changes into changesets. For example, in Perforce you can move checked-out assets from the default changeset to another changeset.

ChangeSetMove(AssetList, string)

Starts a task that moves a list of assets from their current changeset to the changeset with a specified ID.
public static Task ChangeSetMove(AssetList assets, string changesetID)

Parameters

assets

The list of assets to move.

changesetID

The ID of the changeset to move the asset to.

Returns

Type

Description

TaskThe task that moves the assets to the changeset.

Remarks

Use this method to organize pending changes into changesets. For example, in Perforce you can move checked-out assets from the default changeset to another changeset.

ChangeSetMove(Asset, string)

Starts a task that moves a single asset from its current changeset to the changeset with a specified ID.
public static Task ChangeSetMove(Asset asset, string changesetID)

Parameters

asset

The asset to move.

changesetID

The ID of the changeset to move the asset to.

Returns

Type

Description

TaskThe task that moves the asset to the changeset.

Remarks

Use this method to organize pending changes into changesets. For example, in Perforce you can move checked-out assets from the default changeset to another changeset.