-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc290f9
commit 6acaec6
Showing
7 changed files
with
101 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
Assets/CatAsset/Editor/BuildPipeline/BundleBuildPostProcessData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using UnityEditor; | ||
using UnityEditor.Build.Pipeline; | ||
using UnityEditor.Build.Pipeline.Interfaces; | ||
|
||
namespace CatAsset.Editor | ||
{ | ||
/// <summary> | ||
/// 资源包构建后处理数据 | ||
/// </summary> | ||
public class BundleBuildPostProcessData | ||
{ | ||
/// <summary> | ||
/// 构建配置 | ||
/// </summary> | ||
public BundleBuildConfigSO Config; | ||
|
||
/// <summary> | ||
/// 目标平台 | ||
/// </summary> | ||
public BuildTarget TargetPlatform; | ||
|
||
/// <summary> | ||
/// 输出文件夹 | ||
/// </summary> | ||
public string OutputFolder; | ||
|
||
/// <summary> | ||
/// 返回码 | ||
/// </summary> | ||
public ReturnCode ReturnCode; | ||
|
||
/// <summary> | ||
/// 资源包构建结果 | ||
/// </summary> | ||
public IBundleBuildResults Result; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Assets/CatAsset/Editor/BuildPipeline/BundleBuildPostProcessData.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
Assets/CatAsset/Editor/BuildPipeline/BundleBuildPreProcessData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using UnityEditor; | ||
|
||
namespace CatAsset.Editor | ||
{ | ||
/// <summary> | ||
/// 资源包构建预处理数据 | ||
/// </summary> | ||
public class BundleBuildPreProcessData | ||
{ | ||
/// <summary> | ||
/// 构建配置 | ||
/// </summary> | ||
public BundleBuildConfigSO Config; | ||
|
||
/// <summary> | ||
/// 目标平台 | ||
/// </summary> | ||
public BuildTarget TargetPlatform; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Assets/CatAsset/Editor/BuildPipeline/BundleBuildPreProcessData.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters