HasAllFlags
Gets whether or not all of the specified flags are set on any hierarchy node.
阅读时间1 分钟最后更新于 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 | |
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
Returns
Type | Description |
|---|---|
| bool | |