protected override void OnNodeGUI() { if (TargetNode.MaxChance <= 0) { TargetNode.UpdateMaxChance(); } TargetNode.UpdateConnectedOutputSockets(); DrawNodeBody(); DrawSocketsList(Node.InputSockets); DrawSocketsList(Node.OutputSockets); DrawAddSocketButton(SocketDirection.Output, ConnectionMode.Override, typeof(WeightedConnection)); }