コード例 #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
ファイル: NodeInput.cs プロジェクト: ipud2/csg-toolkit
 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> ());
 }
コード例 #4
0
 public object GetValue()
 {
     return((!((UnityEngine.Object)connection != (UnityEngine.Object)null)) ? null : connection.GetValue());
 }