Beispiel #1
0
//    static void DeleteFabricIcon()
//	{
//		string dir = Path.Combine(Application.dataPath, "Plugins/Android/fabric/res/");
//		DirectoryInfo info = new DirectoryInfo(dir);
//		if(info.Exists)
//		{
//			FileInfo[] infos = info.GetFiles("*.png", SearchOption.AllDirectories);
//			foreach(FileInfo i in infos)
//			{
//				File.Delete(i.FullName);
//			}
//
//			AssetDatabase.Refresh ();
//		}
//	}

    static void PreProcessBuildPlayer(BuildTarget target)
    {
        if (target == BuildTarget.iOS)
        {
            BuildExcelAssetBundles.BuildiOSExcels();
        }
        else if (target == BuildTarget.Android)
        {
            BuildExcelAssetBundles.BuildAndroidExcels();
        }
        else
        {
            Debug.Assert(false);
        }

        BuildExcelAssetBundles.PreProcessBuildPlayer();
        MoveOutSvnOfStreamingAssets();
    }
Beispiel #2
0
 static void PostProcessBuildPlayer()
 {
     BuildExcelAssetBundles.PostProcessBuildPlayer();
     MoveInSvnOfStreamingAssets();
 }