This version of Unity is unsupported.

EditorUtility.SetObjectEnabled

Declaration

public static void SetObjectEnabled(Object target, bool enabled);

Description

Set the enabled state of the object.