示例#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);
 }
示例#2
0
 public T GetValue <T> ()
 {
     return(connection.GetValue <T> ());
 }
示例#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());
 }