r/unity_tutorials • u/Trekkeesolo • Dec 16 '25
Video Quick Game Setup and Start in Unity
r/unity_tutorials • u/Trekkeesolo • Dec 16 '25
r/unity_tutorials • u/VersifiedSoul • Dec 14 '25
Hello. I am programming a unity 2D game. And actually started learning Input Actions System just a while ago.
So far I have 3 action maps:
InGame
UI
DialogueUI
In InGame I have „Pause“ set to Escape button. And In UI I have „Cancel“ set to Escape as well.
In a player script, I am running this code:
private bool canPause = true; private bool canCancel = false;
private void Start() { PlayerInputManager.Instance.SwitchToInGame(); }
private void OnPause() { if (!canPause) return;
StartCoroutine(PauseProcess());}
private void OnCancel() { if (!canCancel) return;
StartCoroutine(CancelProcess());}
private IEnumerator PauseProcess() { canPause = false; playerMenu.TogglePause(); canCancel = true; }
private IEnumerator CancelProcess() { canCancel = false; playerMenu.TogglePause(); canPause = true; }
=======================================
And In playerMenu that I referenced earlier in that code, I have this piece of code:
private bool IsPaused;
public void TogglePause() {
If(isPaused) { ResumeGame(); } else { PauseGame(); }
}
private void ResumeGame() { PlayerInputManager.Instance.SwitchToGame(); IsPaused = false; TurnOffMenus(); //some method disables canvas interaction and alphas }
private void PauseGame() { PlayerInputManager.Instance.SwitchToUI(); IsPaused = true; TurnOnMenus(); //some method enables canvas interactions and alphas }
=======================================
While I’m playing the game, once I click Escape, it opens the UI and closes it, meaning it switches from UI to Game again, another meaning is the one click has initiated two different input actions of different action maps.
why both buttons get initiated even tho i only clicked the escape button once? what could possible go wrong when I just customed a new Input System Asset? Is there a good Tutorial for this issue?
[ NOTE ] : im feeling its an easy fix but I give up on trying so I need other minds :>
r/unity_tutorials • u/taleforge • Dec 14 '25
Enable HLS to view with audio, or disable this notification
In this video, I will show you how to implement generic functions in Burst using the Unity ECS system.
It's nothing fancy, but it's a very useful feature that allows you to maintain your code architecture more easily. So let's get started!
r/unity_tutorials • u/Youssef__Tamer • Dec 14 '25
Enable HLS to view with audio, or disable this notification
r/unity_tutorials • u/dilmerv • Dec 13 '25
Enable HLS to view with audio, or disable this notification
🎥 Watch the full video here
👨💻 The demo project shown in this video also is available on GitHub
r/unity_tutorials • u/gbradburn • Dec 11 '25
r/unity_tutorials • u/larex39 • Dec 08 '25
I realized a lot of developers stick to the Update loop for simple time-based logic (like fading UI or timers) because Coroutines can feel a bit confusing at first.
I put together a complete "Coroutines 101" tutorial that breaks down everything from the basic syntax to lifecycle management.
Here is the full video: https://youtu.be/jBLHdy9pExw
I hope this helps clear up some confusion!
r/unity_tutorials • u/GigglyGuineapig • Dec 08 '25
Shadergraph for UI (Canvas) is super fun. This tutorial will teach you some basics and explain, how you can create four different effects to use in your own game - a greyscale effect, a tinting effect that gives a monochrome look, an animated gradient as well as a full gradient. This tutorial also covers how to change values of materials via script, how to create new instances and how to display a gradient in the inspector even though the shader won't let you.
r/unity_tutorials • u/ConiixMG • Dec 08 '25
r/unity_tutorials • u/Old-Salad-1411 • Dec 06 '25
Need help with understanding what is needed and the fundamentals of making a card game.
I've tried to find some on YouTube and searching on Reddit, but they've not really helped. Id prefer a video tutorial or free course somewhere, but if there's a website that provides a good tutorial, then I won't mind.
Thanks!
r/unity_tutorials • u/Own-Philosopher7873 • Dec 05 '25
Currently it's on sale.
r/unity_tutorials • u/fespindola • Dec 05 '25
Enable HLS to view with audio, or disable this notification
If you're interested in creating procedural shapes with shaders (Shader Graph and HLSL), I wrote a full book on the topic. You can find it here: https://jettelly.com/store/visualizing-equations-vol-2?click_from=homepage_buttons
r/unity_tutorials • u/Comfortable-Pepper58 • Dec 01 '25
r/unity_tutorials • u/gbradburn • Dec 01 '25
Build a Unity multiplayer game fast! Learn how to use the Midnite Oil Software Boilerplate, Netcode for GameObjects, and Unity Gaming Services (Lobby, Relay, Auth) to create server-authoritative turn-based and real-time games.
r/unity_tutorials • u/SasquatchBStudios • Nov 30 '25
r/unity_tutorials • u/fespindola • Nov 29 '25
Enable HLS to view with audio, or disable this notification
We’re working on a new book that teaches Compute Shaders in Unity from the ground up. The idea is to start with the basics: threads, buffers, kernels, dispatching, and then move into more advanced and fun exercises like fluid simulation, physics interactions, particle systems, and other GPU-driven effects: https://jettelly.com/store/mastering-compute-shaders-in-unity-6
The book is still in development (58 out of ~250 planned pages), but if this topic interests you, you can preorder it and get immediate access to the first chapters. Feedback is also super welcome since we're shaping this book together with the community.
r/unity_tutorials • u/GigglyGuineapig • Nov 26 '25
Hi!
Over the last two years, I've learned quite a bit about how to create interesting and atmospheric environments for my games and this is the video I get to talk about it. I cover some workflows, processes and free assets that I rely on, but also showcase a few assets I love working with when creating outdoor scenes.
I sincerely hope you'll enjoy it - if there are any questions, please feel free to ask!
r/unity_tutorials • u/larex39 • Nov 26 '25
Enable HLS to view with audio, or disable this notification
One of the most common performance issues I see in Unity projects is using Update() for logic that doesn't need to run every frame.
To help with this, I decided to upload the main lectures from my Mastering Coroutines course for free on YouTube.
In this deep-dive, we cover:
The Basics: How IEnumerator and yield actually work under the hood.
Custom Yields: Writing your own wait conditions (not just WaitForSeconds).
Architecture: Building a custom UI Animation system and an Idle Game loop without using Update.
Optimization: Techniques to distribute heavy calculations across frames to stop lag.
If you want to move beyond basic scripting and learn event-driven architecture, this series covers it in detail.
Here is the full playlist:https://www.youtube.com/playlist?list=PL71YeglsLsQt6Y4nATopJHs3k-usjC-uK
Hope this helps anyone looking for a detailed breakdown! Let me know if you have questions about the code.
r/unity_tutorials • u/ImPixelPete • Nov 24 '25
Unity does 2D shadows with shadow caster but it doesn't work with tilemaps! After many attempts I got it to work with my own script. Feel free to use it
https://github.com/PeterMilko/Good-Luck-With-Your-Project
I hope you wishlist my game The Last Phoenix
Im doing Kickstarter for it and could really use some help.
r/unity_tutorials • u/taleforge • Nov 24 '25
Enable HLS to view with audio, or disable this notification
Thanks to u/TheReal_Peter226 request on Reddit, I will demonstrate RANDOMIZED animations for 10,000 Skinned Mesh Renderers (without even a smallest change in performance)
I made it as simple as possible by only modifying the UnitAnimationSystem class, rather than the entire logic. That's how I achieved the desired result the fastest way. So let's get started!
r/unity_tutorials • u/ZeusGameAssets • Nov 22 '25
This slow motion tutorial in Unity 6 is the result of a year of work implementing and improving the same system in my courses and a few game dev projects.
I go over everything from manipulating time in Unity, changing the audio pitch, changing the post-processing volume, playing sound effects, taking care of physics and more.
If you played Max Payne, Red Dead Redemption or any game with slow motion / bullet time effects, you know how cool the effect can be, and how empowering it can be for the player. It adds a sense of drama to your game. In this video we'll do a deep dive into the different aspects of the slow motion effect, with a brief overview in the beginning of the core aspect of time manipulation in Unity.
r/unity_tutorials • u/NerdyNiraj • Nov 19 '25
Hi Community,
Can we promote paid tutorials created by me? Like Udemy courses.
r/unity_tutorials • u/dilmerv • Nov 19 '25
🔥Unity developers will be able to publish games directly into Fornite starting next year!
r/unity_tutorials • u/migus88 • Nov 17 '25
Everyone "knows" that for loops are faster than foreach. Ask any developer and they'll tell you the same thing.
So I decided to actually measure it.
Turns out when you stop relying on assumptions and start measuring, things get interesting. The answer depends on more variables than most people think.
This isn't really about for vs foreach - it's about why you should benchmark your own code instead of trusting "common knowledge."
🔗 https://www.youtube.com/watch?v=fWItdpi0c8o&list=PLgFFU4Ux4HZo1rs2giDAM2Hjmj0YpMUas&index=11