ドキュメント

Unity Engine

Unity Engine

AreStaticEditorFlagsSet(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
注意
Deprecated. AreStaticEditorFlagsSet has been deprecated. Use AnyStaticEditorFlagsSet to check whether ANY of the requested flags are set, or AllStaticEditorFlagsSet to check whether ALL of them are set.
public static bool AreStaticEditorFlagsSet(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.