rokojori_action_library/Runtime/Extensions/System/HashSetExtensions.cs

25 lines
461 B
C#
Raw Normal View History

2026-05-22 12:25:02 +00:00
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text;
using System;
using System.Linq;
using System.IO;
using System.Diagnostics;
using Godot;
using Rokojori.Extensions;
namespace Rokojori.Extensions;
public static class HashSetExtensions
{
public static void ForEach<T>( this HashSet<T> set, Action<T> callback )
{
foreach ( var item in set )
{
callback( item );
}
}
}