Movement/ColliderCheck/IColliderCheckExtensions.cs

9 lines
268 B
C#

namespace Syntriax.Modules.Movement.ColliderCheck
{
public static class IColliderCheckExtensions
{
public static bool IsCollided(this IColliderCheck colliderCheck)
=> colliderCheck == null ? true : colliderCheck.IsColliderDetected;
}
}