Search Unity

How to use NativeMultiHashMap?

Discussion in 'Data Oriented Technology Stack' started by jRocket, Aug 4, 2021.

  1. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    608
    I have created a MultiHashMap, added a key and single value to it. Now, I need to add additional values for the given key.

    The docs for Add() state:
    How then, do I add additional items for a key that already exists?
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    9,131
    Are you sure you didn't search doc for NativeHashMap, instead NativeMultiHashMap?
     
    jRocket likes this.
  3. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    608
unityunity