Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

EditorUtility.GetObjectEnabled

Switch to Manual
public static function GetObjectEnabled(target: Object): int;

Parameters

Description

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