判断对象是否为指定类的对象 if (intersect.object instanceof GridHelper ){} 判断 intersect 对象中的 object 对象不是 GridHelper 类的对象,intersect 对象如上图