Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DoesNotHaveAnyFlags

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

Definition

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

DoesNotHaveAnyFlags(HierarchyNodeFlags)

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

Parameters

The hierarchy node flags.

Returns

Type

Description

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

DoesNotHaveAnyFlags(HierarchyNode, HierarchyNodeFlags)

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

Parameters

The hierarchy node.

The hierarchy node flags.

Returns

Type

Description

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