文档

Unity Engine

Unity Engine

AllStaticEditorFlagsSet(GameObject, StaticEditorFlags)

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

Definition

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

Parameters

The GameObject to check.

The flags you want to check.

Returns

Type

Description

boolWhether all the input flags specified are set on the GameObject's static flags.