EditorUtility.SetObjectEnabled

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

Description

Set the enabled state of the object.