MovementFlagsExtensions.HasAny

Extension Method in MovementFlagsExtensions

Declaration

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

Description

Checks if the movement flags contains any of the other flags.

Parameters

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

Returns

bool