Skip to content

UIDelegates.cs

Charles Humphrey edited this page Nov 16, 2017 · 1 revision

These delegates are used for the events raised by UI elements.

delegate void MouseOver(object sender, Vector2 position)

void MouseEnter(object sender)

void MouseLeave(object sender)

void MouseButtonDown(object sender, bool leftButton, Vector2 position)

void MouseClick(object sender, bool leftClick, Vector2 position)

void GotFocus(object sender)

void LostFocus(object sender)

void ClosingWindow(object sender)

void CloseWindow(object sender)