Beispiel #1
0
    public void SetValue(bool value)
    {
        foreach (var wire in wireImages)
        {
            wire.color = value ? onColor : offColor;
        }

        start.SetValue(value);
        foreach (var end in ends)
        {
            end.SetValue(value);
        }

        this.value = value;
    }
 public void GUIGetValue(ConnectionPoint point)
 {
     point.SetValue(GetValue(point));
 }