Esempio n. 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();
        }
Esempio n. 2
0
 public override void Initialize(UIDataProvider uiDataProvider, UIPanelSettings settings)
 {
     base.Initialize(uiDataProvider, settings);
     m_textHelp = new TextHelp();
 }
Esempio n. 3
0
 private void ConsoleWinMessageBig_SetTxt(string val)
 {
     consoleWinMessageBigTextHead.text = TextHelp.SpecTextChar(val);
 }
Esempio n. 4
0
 //console YesNo
 private void ConsoleWinYesNo_SetTxt(string val)
 {
     consoleWinYesNoTextHead.text = TextHelp.SpecTextChar(val);
 }
Esempio n. 5
0
 //console Message
 protected void ConsoleWinMessage_SetTxt(string val)
 {
     consoleWinMessageTextHead.text = TextHelp.SpecTextChar(val);
 }