mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 10:04:36 +08:00
simple refactoring
This commit is contained in:
parent
af3672a50e
commit
d65f0de59a
@ -11,8 +11,6 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
|||||||
[CustomEditor(typeof(PipelineMonitor))]
|
[CustomEditor(typeof(PipelineMonitor))]
|
||||||
internal class PipelineMonitorEditor : Editor
|
internal class PipelineMonitorEditor : Editor
|
||||||
{
|
{
|
||||||
private MetaColorAttribute _fakeDebugColorAttribute = new MetaColorAttribute(190, 190, 190);
|
|
||||||
private Type _debugColorAttributeType = typeof(MetaColorAttribute);
|
|
||||||
private GUIStyle _headerStyle;
|
private GUIStyle _headerStyle;
|
||||||
private GUIStyle _interfacesStyle;
|
private GUIStyle _interfacesStyle;
|
||||||
private Color _interfaceColor = new Color(0.96f, 1f, 0.16f);
|
private Color _interfaceColor = new Color(0.96f, 1f, 0.16f);
|
||||||
|
@ -7,29 +7,29 @@ namespace DCFApixels.DragonECS.Unity.Internal
|
|||||||
//Everything inside #if UNITY_EDITOR is not serialized in the release build
|
//Everything inside #if UNITY_EDITOR is not serialized in the release build
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _helpIcon;
|
private Texture _helpIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _closeIcon;
|
private Texture _closeIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _closeIconOn;
|
private Texture _closeIconOn = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _unlinkIcon;
|
private Texture _unlinkIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _auotsetIcon;
|
private Texture _auotsetIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _auotsetCascadeIcon;
|
private Texture _auotsetCascadeIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _searchIcon;
|
private Texture _searchIcon = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _visibilityIconOn;
|
private Texture _visibilityIconOn = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _visibilityIconOff;
|
private Texture _visibilityIconOff = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _labelIconType;
|
private Texture _labelIconType = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _labelIconMeta;
|
private Texture _labelIconMeta = null;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Texture _fileIcon;
|
private Texture _fileIcon = null;
|
||||||
|
|
||||||
internal Texture HelpIcon { get { return _helpIcon; } }
|
internal Texture HelpIcon { get { return _helpIcon; } }
|
||||||
internal Texture CloseIcon { get { return _closeIcon; } }
|
internal Texture CloseIcon { get { return _closeIcon; } }
|
||||||
|
Loading…
Reference in New Issue
Block a user