public override void ButtonEventAction(UIButtonEventArgs eventArgs) { if (eventArgs.State != ButtonState.Click) { return; } Debug.Log("<color=yellow>[DockApp]</color> State: <color=green>" + eventArgs.State.ToString() + "</color> "); // Do DockApp-specific processing here. base.ButtonEventAction(eventArgs); }
public virtual void ButtonEventAction(UIButtonEventArgs eventArgs) { OnButtonEvent?.Invoke(this, eventArgs); }