HACK into your GAMES!



๐ŸŒ Get my Complete Courses! โœ…
๐Ÿ‘ Learn to make awesome games step-by-step from start to finish.
๐ŸŽฎ Get my Steam Games

๐Ÿ’ฌ Here’s how you can create a main Unity instance, like your game, and then make a second Unity app to control the first one.
This is what I used to make my livestream overlay where I have the characters on the main screen and a control panel on the second screen.
This is made using C# Named Pipes, NamedPipeServerStream and NamedPipeClientStream. Another approach you could use would be a TCP tunnel.
This is a pretty niche topic but it took me quite a while to get everything working right so I’m hoping this video helps someone who is searching for this topic just like I was.
Thanks!

Transparent Unity App! (Overlay, Assistant, Particles)

Code Monkey Livestreams

How to: Use Named Pipes for Network Interprocess Communication

What is JSON?

Unity Forum Thread

๐ŸŒ Get Code Monkey on Steam!
๐Ÿ‘ Interactive Tutorials, Complete Games and More!
โœ…

If you have any questions post them in the comments and I’ll do my best to answer them.

๐Ÿ”” Subscribe for more Unity Tutorials

See you next time!

๐Ÿ“ Support on Patreon
๐Ÿค– Join the Community Discord
๐ŸŽฎ Grab the Game Bundle at
๐Ÿ“ Get the Code Monkey Utilities at

#unitytutorial #unity3d #gamedev #unity2d #unityโ€‹โ€‹ #indiegameโ€‹ #gamedevelopment #madewithunityโ€‹ #indiedevโ€‹

——————————————————————–

Hello and Welcome!
I’m your Code Monkey and here you will learn everything about Game Development in Unity using C#.

I’ve been developing games for several years with 8 published games on Steam and now I’m sharing my knowledge to help you on your own game development journey.

I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.

You can see my games at www.endlessloopstudios.com

——————————————————————–
– Other great Unity channels:
Brackeys –
Dani –
Jabrils –
BlackthornProd –
Sykoo –
Jason Weimann –
Jonas Tyroller –
——————————————————————–

– Website:
– Twitter:
– Steam:

https://citybussimulator.com/

50 Comments

  1. ๐Ÿ’ฌ Here's a very niche topic I had to research in order to make my livestream overlay. I'm planning another livestream this week so hit the bell icon!

    ๐ŸŒ Have you found the videos Helpful and Valuable?

    โค๏ธ Get my Courses https://unitycodemonkey.com/courses or my Steam Games ๐ŸŽฎ https://unitycodemonkey.com/gamebundle

  2. So did you find the problem of server at 64 bit build?

  3. Name your videos appropriately to what you are showing so people searching for it can find it. Using click bait titles like this is not very useful in such obscure stuff.

  4. I tried transparent app video(2019 3.3 version 3D) and I have some suggest to people who new to that video.First,It is a 3D project,not URP project as usual.I had checked URP project,however URP project's camera didn't work with no RenderPipeline Asset and its project settings inspector has some different to 3D project.Second, you have to comment out all codes which cause errors,because it is not a URP project.After doing what I suggest,you could set those settings as video teached. Final result will be transparent if you build and run the scene including in the package.

  5. For game developers that are in the trenches so to speak, this is a great video. Itโ€™s hard to learn something new with Unity and C# after developing for years. Thanks for the good content!

  6. ะะปะตะบัะตะน ะกัƒั…ะพั€ะพัะพะฒ says:

    Such unique tutorials are much more valuable than another "make your first platformer" type of tutorials. I think this is strong point of your channel (like an entire ECS series which was very helpful while this topic wasn't well covered by other channels) so I am realy happy to see such videos even if I am not going to use this knowledge in near future.

  7. Hi mr code monkey, hope you have a great day. I'm wondering which should i start with, Unity or UE?
    People say that unity is a good start, but i'm also at least decent enough at c++ since its my college language haha

  8. In that multi application spirit, I would love to see a video about networking. P2P and server/client based. Also should networking be coded first or the game first? Should the game be created with networking in mind or is it easy to switch later on? Some simple 1v1 game prototype would be interesting to see.

  9. โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
    โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•
    โ–ˆโ–ˆโ•‘โ–‘โ–‘โ•šโ•โ•โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘
    โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–‘โ–‘
    โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
    โ–‘โ•šโ•โ•โ•โ•โ•โ–‘โ–‘โ•šโ•โ•โ•โ•โ•โ–‘โ•šโ•โ•โ•โ•โ•โ•โ–‘โ•šโ•โ•โ•โ•โ•โ•โ•

    โ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•—
    โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•”โ•
    โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•โ•โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–‘
    โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–‘โ–‘โ–‘โ–‘โ•šโ–ˆโ–ˆโ•”โ•โ–‘โ–‘
    โ–ˆโ–ˆโ•‘โ–‘โ•šโ•โ•โ–‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–‘โ•šโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘
    โ•šโ•โ•โ–‘โ–‘โ–‘โ–‘โ–‘โ•šโ•โ•โ–‘โ•šโ•โ•โ•โ•โ•โ–‘โ•šโ•โ•โ–‘โ–‘โ•šโ•โ•โ•โ•šโ•โ•โ–‘โ–‘โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ–‘โ–‘โ–‘โ•šโ•โ•โ–‘โ–‘โ–‘

    โ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ€ƒโ€ƒโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–‘โ–‘โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ€ƒโ€ƒโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ€ƒโ€ƒโ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ€ƒโ€ƒโ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•
    โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ€ƒโ€ƒโ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ€ƒโ€ƒโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•ฆโ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘
    โ–ˆโ–ˆโ•‘โ–‘โ•šโ•โ•โ•โ–ˆโ–ˆโ•—โ€ƒโ€ƒโ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–‘โ–‘โ€ƒโ€ƒโ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–‘โ–‘โ–‘โ•šโ•โ•โ•โ–ˆโ–ˆโ•—โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘
    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ€ƒโ€ƒโ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ€ƒโ€ƒโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•ฆโ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–‘โ–‘โ–‘โ–ˆโ–ˆโ•‘โ–‘โ–‘โ–‘
    โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ–‘โ€ƒโ€ƒโ–‘โ–‘โ–‘โ•šโ•โ•โ–‘โ–‘โ–‘โ•šโ•โ•โ–‘โ–‘โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ€ƒโ€ƒโ•šโ•โ•โ•โ•โ•โ•โ–‘โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ–‘โ–‘โ–‘โ–‘โ•šโ•โ•โ–‘โ–‘โ–‘

  10. Please kind sir, make game that increases visual memory and hearing memory of the brain. For phone and pc plss. Add somekind of traditional japanese music or chinese. I think it would be cool project. Because in todays schools most kids suffer from their brain low speed memory, and it's hard to remember everything.

  11. Question: Could you have used the Multi-display feature and have everything in one app ? 1 screen (transparent) to Display 1, 2 window to Display 2

  12. You really gonna make that Ads as your game?

    Okay then, waiting for it to launch! XD

  13. Hi Code Monkey!! I got my script together, thank you for your videos… is there anyway you could make a video talking about the new input system, and how to convert you're normal script to work with the new input system? I didn't realize there was a new system. I just found out about the unity RP for 2D lighting…

  14. Hi I haven't got access to my pc right at the moment but I came across this..can it be done
    Hey, so I was wondering if you can sayย using System.Threading;ย at the top then sayingย Thread.Sleep(milliseconds)ย to pause the script for however long you want instead of using a coroutine. Can I do that?

  15. Don't see anything on downloading the source code for this on your site. Could you provide a link?

  16. oosp I actually shut down Unreals data centers, we need more clear instructions manual for this!

  17. Any idea how i could get my 2. monitor screen into my application? On a plane or a sprite doesn't matter.

  18. This is exactly what I was thinking of looking into over the last 2 weeks! Great video!

  19. Hey Code Monkey, can you make a video on how you make bullets spawn from a gun and go to the center of the screen where the player is pointing at? Itโ€™s a weird request so sorry if itโ€™s inappropriate to post it here :โ€™(

  20. DUUUDE! Love it! This is actually extremely handy. This not only opens many options for debugging or activating specific things on your game but various possibilities. Thanks for the share!

  21. Iโ€™ve been wanting to do this! Amazing how youโ€™ve already solved this problem. Thank you, love your stuff.

  22. Hmm, that is pretty interesting. I also thought about local network approach. I'm not sure, but i think there is a way to make this kind of communication between applications with something like mirror library that can be used to create local multiplier. But for that method you probably have to do everything in one unity project. Anyways, great tutorial, just had different idea of doing this

  23. It was very interesting.
    I am thinking of a game in which the player and his character use their cell phone: IRL for the player, in the game for the character.

Leave a Reply

Your email address will not be published. Required fields are marked *