文档

Unity Engine

Unity Engine

BurstMonoInteropMethodAttribute

Attribute that indicates that a method should have Burst to mono interop code generated.
阅读时间3 分钟最后更新于 19 天前

Definition

[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

MakePublicIf set, the generated method will be exposed as public. Otherwise it will have the same access modifier as the original method.

Constructors

Inheritance

Inherited Members