文档

Unity Engine

Unity Engine

AnyStaticEditorFlagsSet(GameObject, StaticEditorFlags)

Returns true if any of the passed in StaticEditorFlags are set on the GameObject specified.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool AnyStaticEditorFlagsSet(GameObject go, StaticEditorFlags flags)

Parameters

The GameObject to check.

The flags you want to check.

Returns

Type

Description

boolWhether any of the input flags are set on the GameObject's static flags.