Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 private void IntEditor_ValueChanged(NumberEditor <int> sender, int value)
 {
     if (onValueChanged != null)
     {
         onValueChanged.Invoke(value);
     }
 }
Esempio n. 3
0
 private void PriorityEditor_ValueChanged(NumberEditor <int> sender, int value)
 {
     DebugUtils.Assert(selectedNodes.Count == 1);
     RRCSManager.Instance.circuitManager.UpdateNodePriority(selectedNodes[0].Node, value);
 }