DESKTOP-5RP3AKU\Jisol d56c133a75 提交
2024-10-14 03:07:34 +08:00

19 lines
419 B
C#

using System;
namespace Game.Plugins.JNGame.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;
}
}
}