Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AreStaticEditorFlagsSet(GameObject, StaticEditorFlags)

Returns true if any of the passed in StaticEditorFlags are set on the GameObject specified.
Read time 1 minuteLast updated 16 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
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.