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
flags | The flags to check. |
flag | The other flag to check for. |
Returns
bool | True if the flags contain the specified flag, false otherwise. |