File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,12 @@ public void Update(PlayableGraph playableGraph)
5151 }
5252
5353
54+ public override void BuildContextualMenu ( ContextualMenuPopulateEvent evt )
55+ {
56+ // disable contextual menu
57+ //base.BuildContextualMenu(evt);
58+ }
59+
5460 private void ClearView ( )
5561 {
5662 foreach ( var playableOutputNode in _rootOutputNodes )
Original file line number Diff line number Diff line change 22using System . Text ;
33using UnityEditor . Experimental . GraphView ;
44using UnityEngine ;
5+ using UnityEngine . UIElements ;
56using UEdge = UnityEditor . Experimental . GraphView . Edge ;
67using UGraphView = UnityEditor . Experimental . GraphView . GraphView ;
78using UNode = UnityEditor . Experimental . GraphView . Node ;
@@ -76,6 +77,12 @@ public string GetStateDescription()
7677 }
7778
7879
80+ public override void BuildContextualMenu ( ContextualMenuPopulateEvent evt )
81+ {
82+ // disable contextual menu
83+ //base.BuildContextualMenu(evt);
84+ }
85+
7986 protected abstract void AppendStateDescriptions ( StringBuilder descBuilder ) ;
8087
8188 #endregion
You can’t perform that action at this time.
0 commit comments