Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AsReadOnly()

Returns a readonly version of this NativeParallelHashMap instance.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeParallelHashMap<TKey, TValue>.ReadOnly AsReadOnly()

Returns

Type

Description

ReadOnlyReadOnly instance for this.

Remarks

ReadOnly containers point to the same underlying data as the NativeParallelHashMap it is made from.