Movement/ColliderCheck/IColliderCheckExtensions.cs

9 lines
268 B
C#
Raw Normal View History

2021-12-23 12:41:01 +03:00
namespace Syntriax.Modules.Movement.ColliderCheck
{
public static class IColliderCheckExtensions
{
public static bool IsCollided(this IColliderCheck colliderCheck)
=> colliderCheck == null ? true : colliderCheck.IsColliderDetected;
}
}