public BasePage(IWebDriver driver) { elementControl = new ElementControl(); dropdownControl = new DropDownControl(); alertControl = new AlertControl(driver); windowControl = new WindowsControl(driver); }
void Update() { TimeCount += Time.deltaTime; if (AltaGlobal.Settings.WindowsReadTime && TimeCount > AltaGlobal.Settings.WindowsReadTimeLoop) { TimeCount = 0; AltaGlobal.Settings.Load(); WindowsControl.UpdateWindows(Application.productName); } }
//UI STUFF //WindowsUI /// <summary> /// Add a WindowsControl to the Scene. Controls can only be modified before the game launches /// </summary> /// <param name="control">The WindowsControl to add</param> public void addUIElement(WindowsControl control) { controllist.Add(control); controlct++; }