Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AreStaticEditorFlagsSet(GameObject, StaticEditorFlags)

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

Definition

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

Parameters

The GameObject to check.

The flags you want to check.

Returns

Type

Description

boolWhether the GameObject's static flags match the flags specified.