ChangeSetMove
Starts a task that moves a list of assets from their current changeset to a specified changeset.
阅读时间2 分钟最后更新于 11 天前
Definition
- Type: Method
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
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
Returns
Type | Description |
|---|---|
| Task | The 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
Returns
Type | Description |
|---|---|
| Task | The 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
Returns
Type | Description |
|---|---|
| Task | The 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
Returns
Type | Description |
|---|---|
| Task | The 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.