コード例 #1
0
 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();
 }
コード例 #2
0
        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();
        }