【m】处理由于非编辑器环境加载SceneAsset导致的打包报错
This commit is contained in:
@@ -74,12 +74,14 @@ namespace Stary.Evo
|
|||||||
[ReadOnly]
|
[ReadOnly]
|
||||||
public string projectPackageName;
|
public string projectPackageName;
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源加载场景
|
/// 资源加载场景
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[LabelText("资源加载场景")]
|
[LabelText("资源加载场景")]
|
||||||
[Required("如果需要场景作为资源加载过程中的过渡,请将其拖到此处")]
|
[Required("如果需要场景作为资源加载过程中的过渡,请将其拖到此处")]
|
||||||
public SceneAsset loadingScene;
|
public SceneAsset loadingScene;
|
||||||
|
#endif
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源加载场景(路径)
|
/// 资源加载场景(路径)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.main",
|
"name": "com.staryevo.main",
|
||||||
"version": "2.1.2",
|
"version": "2.1.3",
|
||||||
"displayName": "00.StaryEvo",
|
"displayName": "00.StaryEvo",
|
||||||
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user