- Home /
published executable file(game for windows) to be always on top of all windows
dear all,thanks for all your support. I am in damn need of solution for making the executable file (published from unity 3d)to be "always on top" of all windows opened.i.e., i have created a windows based game in unity and i have published,requirement is that i want my published game(executable) to be always on top of all windows(like the task manager if opened, will be on top of all windows)
I have been scouring all the resources I can find for this answer as well. I want my published .exe GUI windows (plan to have multiple), to be always on top (like Task $$anonymous$$anager). It is easy enough to do in C# or C++, by just setting the Top$$anonymous$$ost attribute, on the Form.
Is there no Unity equivalent to this concept? Or is there a way to tap into that native C# property/attribute, through the Unity API code?
I'm looking for this too. I'm trying to get my app not reduced when some usb is plugged in, or when windows make notifications, so the app is alway open, on top, and full screen. No answer ? Is it even possible ?
Answer by quantumface · Jun 16, 2015 at 12:22 AM
Sounds to me like you're trying to build a "game" with virus-like behavior, in order to scam/trick people I presume? My advice/answer would be to not use unity for this task.
Answer by InigoMontoya · Jun 17, 2015 at 06:32 AM
So then, by your logic, the Unity IDE is a virus, since it has always on top windows? I (InigoMontoya) was actually writing a utility program, and toying with the idea of using Unity for it ... glad I switched to VB (right tool for the right job). That said, it seems dumb that Unity doesn't support this.