ScriptGUI.Event.onEvent C# (CSharp) Method

onEvent() private static method

private static onEvent ( ScriptGUI.Widget widget, ScriptGUI.EventArg arg ) : void
widget ScriptGUI.Widget
arg ScriptGUI.EventArg
return void
        private static void onEvent(Widget widget, EventArg arg)
        {
            switch (arg.EventType)
            {
                case EventType.MouseButtonClick:
                    Widget.OnMouseButtonClick(widget, arg);
                    break;
            }
        }

Same methods

Event::onEvent ( ScriptGUI.Widget widget, IntPtr int_ptr ) : void
Event