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;  
        }
    }
}