Hi everyone, I have 2 separate Unity projects running on Linux Mint / Ubuntu. Both builds are running without problems. There is a button in the first game which launches the second game as a new process. I’m trying to make the second player window always stay on top of the first window. What api should I use? And if possible, I would like to maximize the first game window when the second game is closed. Is there any equivalent library such as user32.dll on Windows?
Are you asking if there is a library you can P/Invoke into like user32 APIs?
Something similar to that. I made a custom library in C to take care of all the non-Unity functions and I DllImport that library. I’m wondering if there is any API that allows me to implement a function like “SetWindowToTop()” and “MinimizeWindow()” in my library and let the Unity player call it. I found something related to X11, but haven’t figured it out completely.