WriteOnlyAttribute
Marks a member of a struct used in a job as write-only.
阅读时间3 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.ReturnValue)]public sealed class WriteOnlyAttribute : Attribute, _Attribute