Skip to content

+EA 23.228 Nightly - Plugin.UI

October 30, 2025

1 file modified.

Important Changes

None.

UIInputText

public enum Type

cs

	private float timer;

	private UIButton buttonClicked; 
	public int Num
	{
		get

public void Focus()

cs
	private void Update()
	{
		timer -= Time.deltaTime;
		if (!EInput.leftMouse.pressedLong || !(timer < 0f)) 
		{ 
			return; 
		} 
		timer = 0.1f; 
		UIButton componentOf = InputModuleEX.GetComponentOf<UIButton>(); 
		UIButton[] array = buttons; 
		foreach (UIButton uIButton in array) 
		if (EInput.leftMouse.pressedLong) 
		{
			if (uIButton == componentOf) 
			if (!(timer < 0f)) 
			{
				uIButton.onClick.Invoke(); 
				return; 
			}
			timer = 0.1f; 
			UIButton componentOf = InputModuleEX.GetComponentOf<UIButton>(); 
			UIButton[] array = buttons; 
			foreach (UIButton uIButton in array) 
			{ 
				if (uIButton == componentOf && uIButton == buttonClicked) 
				{ 
					uIButton.onClick.Invoke(); 
				} 
			} 
		} 
		else if (EInput.leftMouse.down) 
		{ 
			buttonClicked = InputModuleEX.GetComponentOf<UIButton>(); 
		}
	}
}