EditorUtility.GetObjectEnabled Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility
EditorUtility.GetObjectEnabled

static function GetObjectEnabled (target : Object) : int

Description

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