Exemple #1
0
        public void ShowAdviceGameWindow(string value)
        {
            gameWindowAdviceText.text = TextHelp.SpecTextChar(value);

            WindowActivator_Open(numberGameWindowAdvice);

            if (IsInvoking(nameof(CloseAdviceGameWindow)))
            {
                CancelInvoke();
            }

            int delayTime = value.Length / _countCharForDelayOneSecond;

            delayTime = delayTime > 0 ? delayTime : 1;

            Invoke(nameof(CloseAdviceGameWindow), delayTime);

            ActivateAdviceGameWEvent();
        }
Exemple #2
0
 public override void Initialize(UIDataProvider uiDataProvider, UIPanelSettings settings)
 {
     base.Initialize(uiDataProvider, settings);
     m_textHelp = new TextHelp();
 }
Exemple #3
0
 private void ConsoleWinMessageBig_SetTxt(string val)
 {
     consoleWinMessageBigTextHead.text = TextHelp.SpecTextChar(val);
 }
Exemple #4
0
 //console YesNo
 private void ConsoleWinYesNo_SetTxt(string val)
 {
     consoleWinYesNoTextHead.text = TextHelp.SpecTextChar(val);
 }
Exemple #5
0
 //console Message
 protected void ConsoleWinMessage_SetTxt(string val)
 {
     consoleWinMessageTextHead.text = TextHelp.SpecTextChar(val);
 }