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