2021-06-12 14:32:23 +08:00
|
|
|
/************************************************/
|
|
|
|
|
/* */
|
|
|
|
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
|
|
|
|
/* https://github.com/monitor1394 */
|
|
|
|
|
/* */
|
|
|
|
|
/************************************************/
|
|
|
|
|
|
|
|
|
|
using UnityEditor;
|
|
|
|
|
using UnityEditor.Build;
|
|
|
|
|
|
|
|
|
|
namespace XCharts
|
|
|
|
|
{
|
2021-06-18 06:48:11 +08:00
|
|
|
[System.Obsolete]
|
2021-06-12 14:32:23 +08:00
|
|
|
public class XChartsBuild : IPreprocessBuild, IPostprocessBuild
|
|
|
|
|
{
|
2021-07-01 07:35:55 +08:00
|
|
|
public int callbackOrder { get { return 1; } }
|
2021-06-12 14:32:23 +08:00
|
|
|
|
|
|
|
|
public void OnPostprocessBuild(BuildTarget target, string path)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void OnPreprocessBuild(BuildTarget target, string path)
|
|
|
|
|
{
|
|
|
|
|
XThemeMgr.ExportAllCustomTheme();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|