EditorUtility.SetObjectEnabled

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

Description 描述

Set the enabled state of the object.