Skip to content

Commit 9efd77b

Browse files
committed
Added cue for internal keywords on TemplateGraph
1 parent e1ccbfe commit 9efd77b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Editor/Editors/Components/TemplateGraph.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ public TemplateNode(string moduleId, TemplateAsset templateAsset, string key)
223223
var port = InstantiatePort(Orientation.Horizontal, Direction.Output, Port.Capacity.Multi, typeof(string));
224224

225225
string sanitizedKeyword = keyword.Replace("#K#", "").Replace("#KI#", "");
226-
port.portName = sanitizedKeyword;
226+
bool isInternal = keyword.StartsWith("#KI#");
227+
port.portName = sanitizedKeyword + (isInternal ? "(i)" : "");
227228
port.portColor = Color.cyan;
228229
port.edgeConnector.activators.Clear();
229230
Outputs.Add(sanitizedKeyword, port);

0 commit comments

Comments
 (0)