public void OnEditExposedCommandButtonPress(UICommandElement uiCommandElement, GameConfigButtonDescriptor buttonDescriptor, string tittle, string command, string arguments) { UIUtils.ShutDownWindow(ref _windowAddExposedCommand); buttonDescriptor._tittle = tittle; buttonDescriptor._command = command; buttonDescriptor._arguments = arguments; uiCommandElement.Refresh(); }
public void OnEditSequenceCommandButtonPress (UICommandElement uiCommandElement , GameConfigButtonDescriptor buttonDescriptor , string tittle , List <KeyValuePair <string, string> > commandList) { UIUtils.ShutDownWindow(ref _windowAddSequenceCommand); buttonDescriptor._tittle = tittle; buttonDescriptor.AddSequenceCommand(commandList); uiCommandElement.Refresh(); }