ドキュメント

Unity Engine

Unity Engine

AreAnyBitsSet(PhysicsMask)

Checks if any of the provided PhysicsMask set bits are also set in this PhysicsMask.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly bool AreAnyBitsSet(PhysicsMask physicsMask)

Parameters

physicsMask

The PhysicsMask bits to compare to this PhysicsMask. If this is zero, false will always be returned.

Returns

Type

Description

boolTrue if any set bits in the specified PhysicsMask are also set in this PhysicsMask, false otherwise.