DESKTOP-5RP3AKU\Jisol 0d600a2786 提交
2024-10-17 03:20:22 +08:00

19 lines
414 B
C#

using System;
namespace JNGame.Runtime.Util
{
public class UseUtil
{
public static bool ContainsType(object[] array, Type typeToFind)
{
foreach (var item in array)
{
if (item.GetType() == typeToFind)
{
return true;
}
}
return false;
}
}
}