void ScriptEditorInput::onPointerPressed(const PointerEvent& ev) { MonoObject* screenPos = ScriptVector2I::box(ev.screenPos); MonoObject* delta = ScriptVector2I::box(ev.delta); MonoUtil::invokeThunk(OnPointerPressedThunk, screenPos, delta, ev.button, ev.shift, ev.control, ev.alt, ev.mouseWheelScrollAmount, ev.isUsed()); }
void ScriptInput::onPointerDoubleClick(const PointerEvent& ev) { if (PlayInEditorManager::instance().getState() != PlayInEditorState::Playing) return; MonoObject* screenPos = ScriptVector2I::box(ev.screenPos); MonoObject* delta = ScriptVector2I::box(ev.delta); MonoUtil::invokeThunk(OnPointerDoubleClickThunk, screenPos, delta, ev.button, ev.shift, ev.control, ev.alt, ev.mouseWheelScrollAmount, ev.isUsed()); }