Example #1
0
 /// <summary>
 /// Gets the value of the connection anonymously. Not advised as it may lead to unwanted behaviour!
 /// </summary>
 public object GetValue()
 {
     return(connection != null?connection.GetValue() : null);
 }
Example #2
0
 public T GetValue <T> ()
 {
     return(connection.GetValue <T> ());
 }
Example #3
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 object GetValue()
 {
     return((!((UnityEngine.Object)connection != (UnityEngine.Object)null)) ? null : connection.GetValue());
 }