기술 자료

Unity Engine

Unity Engine

HasAllFlags

Gets whether or not all of the specified flags are set on any hierarchy node.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

HasAllFlags(HierarchyNodeFlags)

Gets whether or not all of the specified flags are set on any hierarchy node.
public bool HasAllFlags(HierarchyNodeFlags flags)

Parameters

The hierarchy node flags.

Returns

Type

Description

bool
true
if any node have all of the flags set,
false
otherwise.

HasAllFlags(HierarchyNode, HierarchyNodeFlags)

Gets whether or not all of the specified flags are set on the hierarchy node.
public bool HasAllFlags(in HierarchyNode node, HierarchyNodeFlags flags)

Parameters

The hierarchy node.

The hierarchy node flags.

Returns

Type

Description

bool
true
if all of the flags are set,
false
otherwise.