Documentation

Unity Engine

Download Unity

Unity Engine

HasAnyAreas(Areas)

Checks whether this descriptor is flagged with any of the specified areas.
Read time 1 minuteLast updated 13 days ago

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.