Метод | Описание | |
---|---|---|
Add ( |
Adds an assets or list of assets to version control.
|
|
Add ( AssetList assets, bool recursive ) : |
Adds an assets or list of assets to version control.
|
|
AddIsValid ( AssetList assets ) : bool |
Given a list of assets this function returns true if Add is a valid task to perform.
|
|
ChangeSetDescription ( |
Given a changeset only containing the changeset ID, this will start a task for quering the description of the changeset.
|
|
ChangeSetMove ( |
Move an asset or list of assets from their current changeset to a new changeset.
|
|
ChangeSetMove ( |
Move an asset or list of assets from their current changeset to a new changeset.
|
|
ChangeSetMove ( AssetList assets, |
Move an asset or list of assets from their current changeset to a new changeset.
|
|
ChangeSetMove ( AssetList assets, string changesetID ) : |
Move an asset or list of assets from their current changeset to a new changeset.
|
|
ChangeSetStatus ( |
Retrieves the list of assets belonging to a changeset.
|
|
ChangeSetStatus ( string changesetID ) : |
Retrieves the list of assets belonging to a changeset.
|
|
Checkout ( |
Checkout an asset or list of asset from the version control system.
|
|
Checkout ( AssetList assets, CheckoutMode mode ) : |
Checkout an asset or list of asset from the version control system.
|
|
Checkout ( Object assets, CheckoutMode mode ) : |
Checkout an asset or list of asset from the version control system.
|
|
Checkout ( string asset, CheckoutMode mode ) : |
Checkout an asset or list of asset from the version control system.
|
|
CheckoutIsValid ( |
Given an asset or a list of assets this function returns true if Checkout is a valid task to perform.
|
|
CheckoutIsValid ( |
||
CheckoutIsValid ( AssetList assets ) : bool |
Given an asset or a list of assets this function returns true if Checkout is a valid task to perform.
|
|
CheckoutIsValid ( AssetList assets, CheckoutMode mode ) : bool | ||
Delete ( |
This will statt a task for deleting an asset or assets both from disk and from version control system.
|
|
Delete ( AssetList assets ) : |
This will statt a task for deleting an asset or assets both from disk and from version control system.
|
|
Delete ( string assetProjectPath ) : |
This will statt a task for deleting an asset or assets both from disk and from version control system.
|
|
DeleteChangeSets ( UnityEditor changesets ) : |
Starts a task that will attempt to delete the given changeset.
|
|
DeleteChangeSetsIsValid ( UnityEditor changesets ) : bool |
Test if deleting a changeset is a valid task to perform.
|
|
DiffHead ( AssetList assets, bool includingMetaFiles ) : |
Starts a task for showing a diff of the given assest versus their head revision.
|
|
DiffIsValid ( AssetList assets ) : bool |
Return true is starting a Diff task is a valid operation.
|
|
GetAssetListFromSelection ( ) : AssetList |
Return version control information about the currently selected assets.
|
|
GetLatest ( |
Start a task for getting the latest version of an asset from the version control server.
|
|
GetLatest ( AssetList assets ) : |
Start a task for getting the latest version of an asset from the version control server.
|
|
GetLatestIsValid ( |
Returns true if getting the latest version of an asset is a valid operation.
|
|
GetLatestIsValid ( AssetList assets ) : bool |
Returns true if getting the latest version of an asset is a valid operation.
|
|
IncomingChangeSetAssets ( |
Given an incoming changeset this will start a task to query the version control server for which assets are part of the changeset.
|
|
IncomingChangeSetAssets ( string changesetID ) : |
Given an incoming changeset this will start a task to query the version control server for which assets are part of the changeset.
|
|
Lock ( |
Attempt to lock an asset for exclusive editing.
|
|
Lock ( AssetList assets, bool locked ) : |
Attempt to lock an asset for exclusive editing.
|
|
LockIsValid ( |
Return true if the task can be executed.
|
|
LockIsValid ( AssetList assets ) : bool |
Return true if the task can be executed.
|
|
Merge ( AssetList assets, MergeMethod method ) : |
This method will initiate a merge task handle merging of the conflicting assets.
|
|
Move ( string from, string to ) : |
Uses the version control plugin to move an asset from one path to another.
|
|
Resolve ( AssetList assets, ResolveMethod resolveMethod ) : |
Start a task that will resolve conflicting assets in version control.
|
|
ResolveIsValid ( AssetList assets ) : bool |
Tests if any of the assets in the list is resolvable.
|
|
Revert ( |
Reverts the specified assets by undoing any changes done since last time you synced.
|
|
Revert ( AssetList assets, RevertMode mode ) : |
Reverts the specified assets by undoing any changes done since last time you synced.
|
|
RevertIsValid ( |
Return true if Revert is a valid task to perform.
|
|
RevertIsValid ( AssetList assets, RevertMode mode ) : bool |
Return true if Revert is a valid task to perform.
|
|
Status ( |
Start a task that will fetch the most recent status from revision control system.
|
|
Status ( |
Start a task that will fetch the most recent status from revision control system.
|
|
Status ( AssetList assets ) : |
Start a task that will fetch the most recent status from revision control system.
|
|
Status ( AssetList assets, bool recursively ) : |
Start a task that will fetch the most recent status from revision control system.
|
|
Status ( string assets ) : |
Start a task that will fetch the most recent status from revision control system.
|
|
Status ( string assets, bool recursively ) : |
Start a task that will fetch the most recent status from revision control system.
|
|
Submit ( |
Start a task that submits the assets to version control.
|
|
SubmitIsValid ( |
Returns true if submitting the assets is a valid operation.
|
|
UnlockIsValid ( Asset asset ) : bool |
Returns true if locking the assets is a valid operation.
|
|
UnlockIsValid ( AssetList assets ) : bool |
Returns true if locking the assets is a valid operation.
|
Метод | Описание | |
---|---|---|
CacheStatus ( string assetPath ) : |
||
ChangeSets ( ) : |
||
ClearCache ( ) : void | ||
GenerateID ( ) : int | ||
GetActiveConfigFields ( ) : UnityEditor.VersionControl.ConfigField[] | ||
GetActivePlugin ( ) : |
||
GetAssetByGUID ( string guid ) : |
||
GetAssetByPath ( string unityPath ) : |
||
GetAtlasRectForState ( int state ) : |
||
INTERNAL_CALL_GetAtlasRectForState ( int state, |
||
Incoming ( ) : |
||
Internal_Add ( |
||
Internal_AddIsValid ( |
||
Internal_CacheStatus ( string assetPath ) : |
||
Internal_ChangeSetDescription ( |
||
Internal_ChangeSetMove ( |
||
Internal_ChangeSetStatus ( |
||
Internal_Checkout ( |
||
Internal_CheckoutIsValid ( |
||
Internal_CheckoutStrings ( string assets, CheckoutMode mode ) : |
||
Internal_Delete ( |
||
Internal_DeleteAtProjectPath ( string assetProjectPath ) : |
||
Internal_DeleteChangeSets ( |
||
Internal_DeleteChangeSetsIsValid ( |
||
Internal_DiffHead ( |
||
Internal_DiffIsValid ( |
||
Internal_GetAssetArrayFromSelection ( ) : UnityEditor.VersionControl.Asset[] | ||
Internal_GetLatest ( |
||
Internal_GetLatestIsValid ( |
||
Internal_IncomingChangeSetAssets ( |
||
Internal_Lock ( |
||
Internal_LockIsValid ( |
||
Internal_Merge ( |
||
Internal_MoveAsStrings ( string from, string to ) : |
||
Internal_PromptAndCheckoutIfNeeded ( string assets, string promptIfCheckoutIsNeeded ) : bool | ||
Internal_Resolve ( |
||
Internal_ResolveIsValid ( |
||
Internal_Revert ( |
||
Internal_RevertChangeSets ( |
||
Internal_RevertIsValid ( |
||
Internal_SetFileMode ( |
||
Internal_SetFileModeStrings ( string assets, FileMode mode ) : |
||
Internal_Status ( |
||
Internal_StatusAbsolutePath ( string assetPath ) : |
||
Internal_StatusStrings ( string assetsProjectPaths, bool recursively ) : |
||
Internal_Submit ( |
||
Internal_SubmitIsValid ( |
||
Internal_UnlockIsValid ( |
||
InvalidateCache ( ) : void | ||
IsCustomCommandEnabled ( string name ) : bool | ||
IsOpenForEdit ( |
||
PromptAndCheckoutIfNeeded ( string assets, string promptIfCheckoutIsNeeded ) : bool | ||
RevertChangeSets ( UnityEditor changesets, RevertMode mode ) : |
||
SetFileMode ( AssetList assets, FileMode mode ) : |
||
SetFileMode ( string assets, FileMode mode ) : |
||
UpdateSettings ( ) : Task |
public static Add ( |
||
asset | Single asset to add to version control system. | |
recursive | bool | Set this true if adding should be done recursively into subfolders. |
Результат |
public static Add ( AssetList assets, bool recursive ) : |
||
assets | AssetList | List of assets to add to version control system. |
recursive | bool | Set this true if adding should be done recursively into subfolders. |
Результат |
public static AddIsValid ( AssetList assets ) : bool | ||
assets | AssetList | List of assets to test. |
Результат | bool |
public static ChangeSetDescription ( |
||
changeset | Changeset to query description of. | |
Результат |
public static ChangeSetMove ( |
||
asset | Asset to move to changeset. | |
changeset | Changeset to move asset to. | |
Результат |
public static ChangeSetMove ( |
||
asset | Asset to move to changeset. | |
changesetID | string | ChangesetID to move asset to. |
Результат |
public static ChangeSetMove ( AssetList assets, |
||
assets | AssetList | List of asset to move to changeset. |
changeset | Changeset to move asset to. | |
Результат |
public static ChangeSetMove ( AssetList assets, string changesetID ) : |
||
assets | AssetList | List of asset to move to changeset. |
changesetID | string | ChangesetID to move asset to. |
Результат |
public static ChangeSetStatus ( |
||
changeset | Changeset to query for assets. | |
Результат |
public static ChangeSetStatus ( string changesetID ) : |
||
changesetID | string | ChangesetID to query for assets. |
Результат |
public static Checkout ( |
||
asset | Asset to checkout. | |
mode | CheckoutMode | Tell the Provider to checkout the asset, the .meta file or both. |
Результат |
public static Checkout ( AssetList assets, CheckoutMode mode ) : |
||
assets | AssetList | List of assets to checkout. |
mode | CheckoutMode | Tell the Provider to checkout the asset, the .meta file or both. |
Результат |
public static Checkout ( Object assets, CheckoutMode mode ) : |
||
assets | Object | List of assets to checkout. |
mode | CheckoutMode | Tell the Provider to checkout the asset, the .meta file or both. |
Результат |
public static Checkout ( string asset, CheckoutMode mode ) : |
||
asset | string | Asset to checkout. |
mode | CheckoutMode | Tell the Provider to checkout the asset, the .meta file or both. |
Результат |
public static CheckoutIsValid ( |
||
asset | Single asset. | |
Результат | bool |
public static CheckoutIsValid ( |
||
asset | ||
mode | CheckoutMode | |
Результат | bool |
public static CheckoutIsValid ( AssetList assets ) : bool | ||
assets | AssetList | List of assets. |
Результат | bool |
public static CheckoutIsValid ( AssetList assets, CheckoutMode mode ) : bool | ||
assets | AssetList | |
mode | CheckoutMode | |
Результат | bool |
public static Delete ( |
||
asset | Asset to delete. | |
Результат |
public static Delete ( AssetList assets ) : |
||
assets | AssetList | List of assets to delete. |
Результат |
public static Delete ( string assetProjectPath ) : |
||
assetProjectPath | string | Project path of asset. |
Результат |
public static DeleteChangeSets ( UnityEditor changesets ) : |
||
changesets | UnityEditor | List of changetsets. |
Результат |
public static DeleteChangeSetsIsValid ( UnityEditor changesets ) : bool | ||
changesets | UnityEditor | Changeset to test. |
Результат | bool |
public static DiffHead ( AssetList assets, bool includingMetaFiles ) : |
||
assets | AssetList | List of assets. |
includingMetaFiles | bool | Whether or not to include .meta. |
Результат |
public static DiffIsValid ( AssetList assets ) : bool | ||
assets | AssetList | List of assets. |
Результат | bool |
public static GetAssetListFromSelection ( ) : AssetList | ||
Результат | AssetList |
public static GetLatest ( |
||
asset | Asset to update. | |
Результат |
public static GetLatest ( AssetList assets ) : |
||
assets | AssetList | List of assets to update. |
Результат |
public static GetLatestIsValid ( |
||
asset | Asset to test. | |
Результат | bool |
public static GetLatestIsValid ( AssetList assets ) : bool | ||
assets | AssetList | List of assets to test. |
Результат | bool |
public static IncomingChangeSetAssets ( |
||
changeset | Incoming changeset. | |
Результат |
public static IncomingChangeSetAssets ( string changesetID ) : |
||
changesetID | string | Incoming changesetid. |
Результат |
public static Lock ( |
||
asset | Asset to lock/unlock. | |
locked | bool | True to lock assets, false to unlock assets. |
Результат |
public static Lock ( AssetList assets, bool locked ) : |
||
assets | AssetList | List of assets to lock/unlock. |
locked | bool | True to lock assets, false to unlock assets. |
Результат |
public static LockIsValid ( |
||
asset | Asset to test. | |
Результат | bool |
public static LockIsValid ( AssetList assets ) : bool | ||
assets | AssetList | List of assets to test. |
Результат | bool |
public static Merge ( AssetList assets, MergeMethod method ) : |
||
assets | AssetList | The list of conflicting assets to be merged. |
method | MergeMethod | How to merge the assets. |
Результат |
public static Move ( string from, string to ) : |
||
from | string | Path to source asset. |
to | string | Path to destination. |
Результат |
public static Resolve ( AssetList assets, ResolveMethod resolveMethod ) : |
||
assets | AssetList | The list of asset to mark as resolved. |
resolveMethod | ResolveMethod | How the assets should be resolved. |
Результат |
public static ResolveIsValid ( AssetList assets ) : bool | ||
assets | AssetList | The list of asset to be resolved. |
Результат | bool |
public static Revert ( |
||
asset | The asset to be reverted. | |
mode | RevertMode | How to revert the assets. |
Результат |
public static Revert ( AssetList assets, RevertMode mode ) : |
||
assets | AssetList | The list of assets to be reverted. |
mode | RevertMode | How to revert the assets. |
Результат |
public static RevertIsValid ( |
||
asset | Asset to test. | |
mode | RevertMode | Revert mode to test for. |
Результат | bool |
public static RevertIsValid ( AssetList assets, RevertMode mode ) : bool | ||
assets | AssetList | List of assets to test. |
mode | RevertMode | Revert mode to test for. |
Результат | bool |
public static Status ( |
||
asset | The asset path to fetch new state for. | |
Результат |
public static Status ( |
||
asset | The asset path to fetch new state for. | |
recursively | bool | If any assets specified are folders this flag will get status for all descendants of the folder as well. |
Результат |
public static Status ( AssetList assets ) : |
||
assets | AssetList | The assets fetch new state for. |
Результат |
public static Status ( AssetList assets, bool recursively ) : |
||
assets | AssetList | The assets fetch new state for. |
recursively | bool | If any assets specified are folders this flag will get status for all descendants of the folder as well. |
Результат |
public static Status ( string assets ) : |
||
assets | string | The assets fetch new state for. |
Результат |
public static Status ( string assets, bool recursively ) : |
||
assets | string | The assets fetch new state for. |
recursively | bool | If any assets specified are folders this flag will get status for all descendants of the folder as well. |
Результат |
public static Submit ( |
||
changeset | The changeset to submit. | |
list | AssetList | The list of assets to submit. |
description | string | The description of the changeset. |
saveOnly | bool | If true then only save the changeset to be submitted later. |
Результат |
public static SubmitIsValid ( |
||
changeset | The changeset to submit. | |
assets | AssetList | The asset to submit. |
Результат | bool |
public static UnlockIsValid ( Asset asset ) : bool | ||
asset | Asset | The asset to lock. |
Результат | bool |
public static UnlockIsValid ( AssetList assets ) : bool | ||
assets | AssetList | The assets to lock. |
Результат | bool |