Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HashSetExtensions

Provides extension methods for sets.
Read time 1 minuteLast updated 6 days ago

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.