oomfies
This commit is contained in:
parent
fb800946ab
commit
9e512b8e8e
@ -1,5 +1,7 @@
|
|||||||
using ImageProcessingGraph.Editor.Nodes.NodeAttributes;
|
using ImageProcessingGraph.Editor.Nodes.NodeAttributes;
|
||||||
using ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Windows;
|
using ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Windows;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine.UIElements;
|
||||||
|
|
||||||
namespace ImageProcessingGraph.Editor.Nodes.Types.Utils.Connector
|
namespace ImageProcessingGraph.Editor.Nodes.Types.Utils.Connector
|
||||||
{
|
{
|
||||||
@ -19,7 +21,14 @@ namespace ImageProcessingGraph.Editor.Nodes.Types.Utils.Connector
|
|||||||
{
|
{
|
||||||
public GenericConnectionEditor(BaseImageNode node, ImageProcessingGraphViewWindow window) : base(node, window)
|
public GenericConnectionEditor(BaseImageNode node, ImageProcessingGraphViewWindow window) : base(node, window)
|
||||||
{
|
{
|
||||||
|
// StyleSheet styleSheet = AssetDatabase.LoadAssetAtPath<StyleSheet>("Assets/Unity Image Processing/GenericNode.uss");
|
||||||
|
// if (styleSheet == null)
|
||||||
|
// {
|
||||||
|
// styleSheet = EditorGUIUtility.Load("Packages/com.chromium.imageprocessingrah/GenericNode.uss") as StyleSheet;
|
||||||
|
// }
|
||||||
|
// styleSheets.Add(styleSheet);
|
||||||
|
|
||||||
|
this.Q("title").style.display = DisplayStyle.None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
4
GenericNode.uss
Normal file
4
GenericNode.uss
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#Title
|
||||||
|
{
|
||||||
|
display: none;
|
||||||
|
}
|
3
GenericNode.uss.meta
Normal file
3
GenericNode.uss.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 79b350a401ed4074ab5fc42f451a8125
|
||||||
|
timeCreated: 1746344909
|
Loading…
x
Reference in New Issue
Block a user