Extensions.HasAny

Extension Method in Extensions

Declaration

public static bool HasAny(this CollisionFlags flags, CollisionFlags other)

Description

Checks if the flags contain any of the other specified flags.

Parameters

flagsThe flags to check.
otherThe other flags to check for.

Returns

boolTrue if the flags contain any of the other specified flags, false otherwise.