mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 19:55:09 +00:00
21 lines
No EOL
682 B
C#
21 lines
No EOL
682 B
C#
/// Credit Slipp Douglas Thompson
|
|
/// Sourced from - https://gist.github.com/capnslipp/349c18283f2fea316369
|
|
///
|
|
using UnityEditor;
|
|
using UnityEditor.UI;
|
|
|
|
namespace UnityEngine.UI.Extensions
|
|
{
|
|
[CanEditMultipleObjects, CustomEditor(typeof(NonDrawingGraphic), false)]
|
|
public class NonDrawingGraphicEditor : GraphicEditor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
base.serializedObject.Update();
|
|
EditorGUILayout.PropertyField(base.m_Script, new GUILayoutOption[0]);
|
|
// skipping AppearanceControlsGUI
|
|
base.RaycastControlsGUI();
|
|
base.serializedObject.ApplyModifiedProperties();
|
|
}
|
|
}
|
|
} |