Extensions.Has

Extension Method in Extensions

Declaration

public static bool Has(this CollisionFlags flags, CollisionFlags flag)

Description

Checks if the flags contain a specified flag.

Parameters

flagsThe flags to check.
flagThe other flag to check for.

Returns

boolTrue if the flags contain the specified flag, false otherwise.