HashSetExtensions
Provides extension methods for sets.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static class HashSetExtensions
Static Methods
Method | Description |
|---|---|
| ExceptWith | Removes the values from this set which are also present in another collection. |
| IntersectWith | Removes the values from this set which are absent in another collection. |
| UnionWith | Adds all distinct values from the other collection to this set. Does not throw if a value is already in this set. |