DESKTOP-5RP3AKU\Jisol c85f350e0a 临时提交
2024-10-17 01:59:25 +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;
}
}
}