Spend Resources ========================== .. code-block:: csharp public void SpendResources(ResourceDatasDictionary resources) Removes multiple resources from the player at once from the ``resources`` dictionary (maps ``ResourceData`` to an amount). Calls ``SpendResource`` for each entry. Useful, for example, when buying something that costs several resource types at once.