文档

Unity Engine

Unity Engine

HashSetExtensions

Provides extension methods for sets.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class HashSetExtensions

Static Methods

Method

Description

ExceptWithRemoves the values from this set which are also present in another collection.
IntersectWithRemoves the values from this set which are absent in another collection.
UnionWithAdds all distinct values from the other collection to this set. Does not throw if a value is already in this set.