1- using System ;
1+ using GBG . PlayableGraphMonitor . Editor . GraphView ;
2+ using GBG . PlayableGraphMonitor . Editor . Utility ;
3+ using System ;
24using System . Collections . Generic ;
35using System . Text ;
4- using GBG . PlayableGraphMonitor . Editor . GraphView ;
5- using GBG . PlayableGraphMonitor . Editor . Utility ;
66using UnityEditor . Experimental . GraphView ;
77using UnityEngine ;
88using UnityEngine . Playables ;
@@ -185,7 +185,7 @@ protected override void AppendNodeDescription(StringBuilder descBuilder)
185185 protected virtual void AppendPlayableTypeDescription ( StringBuilder descBuilder )
186186 {
187187 descBuilder . Append ( "Type: " ) . AppendLine ( Playable . GetPlayableType ( ) ? . Name ?? "?" )
188- . Append ( "HashCode : " ) . AppendLine ( Playable . GetHandle ( ) . GetHashCode ( ) . ToString ( ) ) ;
188+ . Append ( "HandleHashCode : " ) . AppendLine ( Playable . GetHandle ( ) . GetHashCode ( ) . ToString ( ) ) ;
189189 }
190190
191191 protected virtual void AppendInputPortDescription ( StringBuilder descBuilder )
@@ -210,9 +210,12 @@ protected virtual void AppendInputPortDescription(StringBuilder descBuilder)
210210 /// <returns></returns>
211211 public Port FindOutputPort ( Playable outputPlayable )
212212 {
213- // If the output of Playable at index i is connected to a PlayableOutput,
213+ // If the output port of the Playable at index i is connected to a PlayableOutput,
214214 // Playable.GetOutput(i) will return an invalid Playable.
215215
216+ // TODO FIXME: If multiple output ports of `outputPlayable` connect to different input ports of the same `Playable`,
217+ // this method cannot distinguish between these output ports.
218+
216219 for ( int i = 0 ; i < Playable . GetOutputCount ( ) ; i ++ )
217220 {
218221 var output = Playable . GetOutput ( i ) ;
0 commit comments