LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Provider.RevertIsValid

public static bool RevertIsValid(VersionControl.AssetList assets, VersionControl.RevertMode mode);
public static bool RevertIsValid(VersionControl.Asset asset, VersionControl.RevertMode mode);

Parameters

assetsList of assets to test.
modeRevert mode to test for.
assetAsset to test.

Description

Return true if Revert is a valid task to perform.