Movement/ColliderCheck/IColliderCheckExtensions.cs

9 lines
279 B
C#
Raw Normal View History

namespace Syntriax.Modules.Movement.ColliderTrigger
2021-12-23 12:41:01 +03:00
{
public static class IColliderTriggerExtensions
2021-12-23 12:41:01 +03:00
{
public static bool IsTriggeredNullChecked(this IColliderTrigger colliderCheck)
=> colliderCheck == null ? true : colliderCheck.IsTrigerred;
2021-12-23 12:41:01 +03:00
}
}