mirror of
https://gitee.com/jisol/jisol-game/
synced 2026-06-10 19:16:54 +00:00
no message
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 500748b025884f42ade05338e47bff56
|
||||
timeCreated: 1708237347
|
||||
Reference in New Issue
Block a user