暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BurstLoader.cs 604B

123456789
  1. using System.Runtime.CompilerServices;
  2. // Some code in Unity.Entities.TypeManager
  3. // (https://github.cds.internal.unity3d.com/unity/dots/blob/d82f136abd45af8760235b885b63ecb50dcaf5f8/Packages/com.unity.entities/Unity.Entities/Types/TypeManager.cs#L426)
  4. // uses reflection to call a static Unity.Burst.Editor.BurstLoader.IsDebugging property,
  5. // to ensure that BurstLoader has been initialized.
  6. // It specifically looks in the Unity.Burst.Editor.dll assembly.
  7. // So we use type-forwarding to let it find the "real" BurstLoader.
  8. [assembly: TypeForwardedToAttribute(typeof(Unity.Burst.Editor.BurstLoader))]