Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AttachmentIndexArray

Create and initialize a new AttachmentIndexArray.
Read time 1 minuteLast updated 6 days ago

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.