Skip to content

Commit 051cd47

Browse files
committed
Add back BaseNode.EditorAttribute but obsolete it instead
1 parent 032a2b6 commit 051cd47

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

game/addons/tools/Code/ShaderGraph/BaseNode.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ public OutputAttribute( Type type = null )
150150
}
151151
}
152152

153+
[Obsolete( "Use NodeValueEditorAttribute instead", false )]
154+
[System.AttributeUsage( AttributeTargets.Property )]
155+
public sealed class EditorAttribute : NodeValueEditorAttribute
156+
{
157+
public EditorAttribute( string valueName ) : base( valueName )
158+
}
159+
153160
[System.AttributeUsage( AttributeTargets.Property )]
154161
public class NodeValueEditorAttribute : Attribute
155162
{

0 commit comments

Comments
 (0)