コード例 #1
0
 /// <summary>
 /// Gets the value of the connection or the default value
 /// </summary>
 public T GetValue <T> ()
 {
     return(connection != null?connection.GetValue <T> () : NodeOutput.GetDefault <T> ());
 }
コード例 #2
0
 public T GetValue <T>()
 {
     return((!((UnityEngine.Object)connection != (UnityEngine.Object)null)) ? NodeOutput.GetDefault <T>() : connection.GetValue <T>());
 }