【m】修改资源构建方式
This commit is contained in:
@@ -165,7 +165,7 @@ namespace Stary.Evo.Editor
|
|||||||
else if (environmentType == EnvironmentType.Release)
|
else if (environmentType == EnvironmentType.Release)
|
||||||
{
|
{
|
||||||
viewer.clearBuildCacheToggle = false;
|
viewer.clearBuildCacheToggle = false;
|
||||||
selectedBuildPipelines = EBuildPipeline.BuiltinBuildPipeline;
|
selectedBuildPipelines = EBuildPipeline.ScriptableBuildPipeline;
|
||||||
|
|
||||||
packageVersionX = packageVersionX > 1 ? packageVersionX : 1;
|
packageVersionX = packageVersionX > 1 ? packageVersionX : 1;
|
||||||
packageVersionY =
|
packageVersionY =
|
||||||
|
|||||||
@@ -169,7 +169,6 @@ namespace Stary.Evo.Editor
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Update
|
#region Update
|
||||||
|
|
||||||
[Title("BuildAssetButton", titleAlignment: TitleAlignments.Centered)] [HideLabel]
|
[Title("BuildAssetButton", titleAlignment: TitleAlignments.Centered)] [HideLabel]
|
||||||
public BuildAssetEntity onBuildPipelineEntity;
|
public BuildAssetEntity onBuildPipelineEntity;
|
||||||
|
|
||||||
@@ -185,6 +184,7 @@ namespace Stary.Evo.Editor
|
|||||||
|
|
||||||
private bool _isCheckDriveExist;
|
private bool _isCheckDriveExist;
|
||||||
|
|
||||||
|
|
||||||
[TitleGroup("UpdateAssetButton", alignment: TitleAlignments.Centered)]
|
[TitleGroup("UpdateAssetButton", alignment: TitleAlignments.Centered)]
|
||||||
[HideLabel]
|
[HideLabel]
|
||||||
[ShowIf(
|
[ShowIf(
|
||||||
@@ -246,12 +246,18 @@ namespace Stary.Evo.Editor
|
|||||||
scroll = GUILayout.BeginScrollView(scroll);
|
scroll = GUILayout.BeginScrollView(scroll);
|
||||||
{
|
{
|
||||||
base.DrawEditor(index);
|
base.DrawEditor(index);
|
||||||
BuildServerPath();
|
|
||||||
}
|
}
|
||||||
GUILayout.EndScrollView();
|
GUILayout.EndScrollView();
|
||||||
|
|
||||||
|
BuildServerPath();
|
||||||
|
UpdateBuildPipelineButtonName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void UpdateBuildPipelineButtonName()
|
||||||
|
{
|
||||||
|
onBuildPipelineEntity.SetButtonName($"打包资源包【版本:{BuildAssetDataSetting.packageVersion}】");
|
||||||
|
onUpdateBuildPipelineEntity.SetButtonName($"更新至服务器【版本:{BuildAssetDataSetting.packageVersion}】");
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 生成服务器路径
|
/// 生成服务器路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.main",
|
"name": "com.staryevo.main",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"displayName": "00.StaryEvo",
|
"displayName": "00.StaryEvo",
|
||||||
"description": "This is an Framework package",
|
"description": "This is an Framework package",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user