private void NumberEditor_ValueChanged <T>(NumberEditor <T> sender, T value) where T : IComparable <T> { foreach (NodeUi nodeUi in selectedNodes) { nodeUi.Node.SetSetting(sender.Setting.type, value); } }
private void IntEditor_ValueChanged(NumberEditor <int> sender, int value) { if (onValueChanged != null) { onValueChanged.Invoke(value); } }
private void PriorityEditor_ValueChanged(NumberEditor <int> sender, int value) { DebugUtils.Assert(selectedNodes.Count == 1); RRCSManager.Instance.circuitManager.UpdateNodePriority(selectedNodes[0].Node, value); }