protected void DrawConnection(NoiseNode incoming, Color color)
 {
     if (!incoming)
     {
         return;
     }
     Gizmos.color = color;
     Gizmos.DrawLine(incoming.transform.position, transform.position);
 }
示例#2
0
 private void Start()
 {
     _node = GetComponentInParent <NoiseNode>();
     StartCoroutine(UpdateTexture());
 }