NativeFixedLengthAttribute
Indicates that a native container has a size that will never change.
阅读时间3 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Field)]public sealed class NativeFixedLengthAttribute : Attribute
Fields
Value | Description |
|---|---|
| FixedLength | Represents the fixed number of elements in a native container. |
Constructors
Constructor | Description |
|---|---|
| NativeFixedLengthAttribute(System.Int32) | Initializes and returns an instance of NativeFixedLengthAttribute. |