该项目的目的是同时测试和演示来自 Unity DOTS 技术堆栈的多个新包。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

24 行
597 B

using UnityEngine;
using Unity.Entities;
using Unity.Jobs;
using Unity.Scenes;
#if UNITY_EDITOR
[ExecuteAlways]
[UpdateInGroup(typeof(InitializationSystemGroup))]
[AlwaysSynchronizeSystem]
public class ConfigureEditorSystem : JobComponentSystem
{
protected override void OnCreate()
{
if (UnityEditor.EditorApplication.isPlaying)
return;
World.GetOrCreateSystem<SceneSystem>().BuildSettingsGUID = ClientGameLoopSystem.ClientBuildSettingsGUID;
}
protected override JobHandle OnUpdate(JobHandle inputDeps)
{
return default;
}
}
#endif