【m】处理由于非编辑器环境加载SceneAsset导致的打包报错
This commit is contained in:
@@ -73,13 +73,15 @@ namespace Stary.Evo
|
||||
/// </summary>
|
||||
[ReadOnly]
|
||||
public string projectPackageName;
|
||||
|
||||
|
||||
#if UNITY_EDITOR
|
||||
/// <summary>
|
||||
/// 资源加载场景
|
||||
/// </summary>
|
||||
[LabelText("资源加载场景")]
|
||||
[Required("如果需要场景作为资源加载过程中的过渡,请将其拖到此处")]
|
||||
public SceneAsset loadingScene;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// 资源加载场景(路径)
|
||||
|
||||
Reference in New Issue
Block a user