Manual     Reference     Scripting  
  
Scripting > Editor Classes > EditorUtility   

EditorUtility.SetObjectEnabled  

static function SetObjectEnabled (target : Object, enabled : boolean) : void

Description

Set the enabled state of the object