PC-20230316NUNE\Administrator b0a2e4a900 提交完美
2024-10-17 20:36:24 +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;
}
}
}