Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DoesNotHaveFlags

Gets whether or not all of the specified flags are not set on any hierarchy node.
Read time 1 minuteLast updated 12 days ago

Definition

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

DoesNotHaveFlags(HierarchyNodeFlags)

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

Parameters

The hierarchy node flags.

Returns

Type

Description

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

DoesNotHaveFlags(HierarchyNode, HierarchyNodeFlags)

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

Parameters

The hierarchy node.

The hierarchy node flags.

Returns

Type

Description

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