static string[] OnWillSaveAssets(string[] paths) { if (!IsEnabled) { return(paths); } PlasticAssetsProcessor.CheckoutOnSourceControl(paths); return(paths); }
internal static void Enable( IPlasticAPI plasticApi, IAssetStatusCache assetStatusCache) { PlasticAssetsProcessor.RegisterPlasticAPI(plasticApi); AssetModificationProcessor.RegisterAssetStatusCache(assetStatusCache); AssetPostprocessor.IsEnabled = true; AssetModificationProcessor.IsEnabled = false; }