Ejemplo n.º 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> ());
 }
 public T GetValue <T>()
 {
     return((!((UnityEngine.Object)connection != (UnityEngine.Object)null)) ? NodeOutput.GetDefault <T>() : connection.GetValue <T>());
 }