BurstMonoInteropMethodAttribute
Attribute that indicates that a method should have Burst to mono interop code generated.
Read time 3 minutesLast updated 11 hours ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]public sealed class BurstMonoInteropMethodAttribute : Attribute
Remarks
Methods decorated with this attribute must be in a type also decorated with GenerateBurstMonoInteropAttribute.
Fields
Value | Description |
|---|---|
| MakePublic | If set, the generated method will be exposed as public. Otherwise it will have the same access modifier as the original method. |
Constructors
Constructor | Description |
|---|---|
| BurstMonoInteropMethodAttribute(System.Boolean) | BurstMonoInteropMethodAttribute.MakePublic |