暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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))]