Google.VersionHandler.MoveAssetToTrash C# (CSharp) Method

MoveAssetToTrash() private static method

Move an asset to trash, writing to the log if logging is enabled.
private static MoveAssetToTrash ( string filename ) : void
filename string
return void
    private static void MoveAssetToTrash(string filename) {
        if (VerboseLoggingEnabled) {
            UnityEngine.Debug.Log("Moved obsolete file to trash: " + filename);
        }
        if (!AssetDatabase.MoveAssetToTrash(filename)) {
            UnityEngine.Debug.LogError(
                "Failed to move obsolete file to trash: " + filename);
        }
    }