- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace JTSystems
- {
- public static class ColliderExtension
- {
- public static bool HasInterface<T>(this Collider col)
- {
- return InterfaceUtility.HasInterface<T>(col.gameObject);
- }
- }
- }
|