idTech4.UI.idChoiceWindow.Activate C# (CSharp) Метод

Activate() публичный Метод

public Activate ( bool activate, string &act ) : void
activate bool
act string
Результат void
		public override void Activate(bool activate, ref string act)
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			base.Activate(activate, ref act);

			if(activate == true) 
			{
				// sets the gui state based on the current choice the window contains
				UpdateChoice();
			}
		}