September 17, 2019, 08:42:05 am
Welcome, Guest. Please login or register.
Did you miss your activation email
News: Donate button moved
to navigation bar


Author Topic: I don't suppose anyone has some pointers for using user32.dll commands in Unity?  (Read 702 times)

Offline Copen

  • Donator
  • Member
  • *
  • Posts: 5
  • Reputation: +0/-0
There are so many cool things I could make in Unity (more akin to launchers then games) if I could just get things like:

   public static extern IntPtr SetFocus(IntPtr hWnd);

to actually set the unity app to have Focus (even from the background!)

Or make fake keyboard keyup and keydown events when I press a controller button.

It feels like I'm close, but it just ain't working yet. Anyone else dong anything like this?

Offline gipal

  • Leecher
  • *
  • Posts: 2
  • Reputation: +0/-0
this should more or less be quite literally all there is to it just make sure your hwnd is correct and call the function


© 2012-2019 PSO-HACK.COM
Designed by carbon
| SMF © 2017, Simple Machines