/// <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); }
public T GetValue <T> () { return(connection.GetValue <T> ()); }
/// <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()); }