Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUtility.GetObjectEnabled

static function GetObjectEnabled(target: Object): int;
static int GetObjectEnabled(Object target);
static def GetObjectEnabled(target as Object) as int

Description

Is the object enabled (0 disabled, 1 enabled, -1 has no enabled button).