~_BackUpThisFolder_ButDontShipItWithYourGame を削除する

ビルドしたときにできるBackUpThisFolder_ButDontShipItWithYourGameを自動で削除する方法。

public void OnPostprocessBuild( BuildReport report )

を使っていたら、なぜUnity Build Automationで何故か処理が走らなかった。
以下にあるコードを使ったらうまくいった。
forum.unity.com

こっちは、
public static void OnPostProcessBuild(BuildTarget target, string path)
を使っていた。
とにかくうまくいってよかった。