文档

Unity Engine

Unity Engine

HasAnyAreas(Areas)

Checks whether this descriptor is flagged with any of the specified areas.
阅读时间1 分钟最后更新于 5 天前

Definition

public bool HasAnyAreas(Areas areas)

Parameters

areas

The area(s) to test against.

Returns

Type

Description

boolTrue if at least one of the specified areas is set on this descriptor. Otherwise, returns false.