Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnyStaticEditorFlagsSet(GameObject, StaticEditorFlags)

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

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.