Movement/ColliderCheck/IColliderCheckExtensions.cs

9 lines
279 B
C#

namespace Syntriax.Modules.Movement.ColliderTrigger
{
public static class IColliderTriggerExtensions
{
public static bool IsTriggeredNullChecked(this IColliderTrigger colliderCheck)
=> colliderCheck == null ? true : colliderCheck.IsTrigerred;
}
}