言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Task

Namespace: UnityEditor.VersionControl

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

Description

A UnityEditor.VersionControl.Task is created almost everytime UnityEditor.VersionControl.Provider is ask to perform an action.

Variables

assetList The result of some types of tasks.
changeSets List of changesets returned by some tasks.
description A short description of the current task.
messages May contain messages from the version control plugins.
progressPct Progress of current task in precent.
resultCode Some task return result codes, these are stored here.
secondsSpent Total time spent in task since the task was started.
success Get whether or not the task was completed succesfully.
text Will contain the result of the Provider.ChangeSetDescription task.

Functions

SetCompletionAction Upon completion of a task a completion task will be performed if it is set.
Wait A blocking wait for the task to complete.