文档

Unity Engine

Unity Engine

AttachmentIndexArray

Create and initialize a new AttachmentIndexArray.
阅读时间1 分钟最后更新于 1 个月前

Definition

AttachmentIndexArray(int)

Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(int numAttachments)

Parameters

numAttachments

Number of indices to allocate.

Remarks

Individual items can be read/writen using the indexer operator.

AttachmentIndexArray(int[])

Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(int[] attachments)

Parameters

attachments

Allocate and copy the passed-in list of indices.

Remarks

Individual items can be read/writen using the indexer operator.

AttachmentIndexArray(NativeArray<int>)

Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(NativeArray<int> attachments)

Parameters

attachments

Allocate and copy the passed-in list of indices.

Remarks

Individual items can be read/writen using the indexer operator.