/r/unity_tutorials
Tutorials for the Unity game engine! Share a tutorial that’s helped you, or that you’ve created and think will help others!
/r/unity_tutorials
Wanted to post this since I've never heard anyone mention it and I think that's a shame
I was watching this video on Root Motion and NavMesh: (very good video btw)
https://www.youtube.com/watch?v=rdRrMCgfvy4
when suddenly the youtuber mentions OnValidate() which is an editor function that is called when a value is changed in the inspector. This makes it VERY useful for many things. For me, this will make assigning references way less of a hastle since I usually forget to do so until I press play and when I realize, I have to stop playing and assign and in the meantime unity is constantly compiling everything. Instead I can just add this for single-instance references on OnValidate():
[SerializeField] Manager manager;
void OnValidate()
{
if (!manager) manager = FindObjectOfType<Manager>();
}
https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnValidate.html
Hey, Unity devs! 👋
I’m curious—what have you been working on in Unity lately? Whether you’re diving into a new project or refining your skills, I’d love to hear what you’re up to!
And if you could shape your own learning path in Unity, what topics would you focus on? Are there specific areas like C# scripting, 2D/3D physics, animation, or performance optimization that you’re eager to master?
Feel free to share your thoughts, experiences, or even some tips for those just starting out. I’m excited to hear about your learning journeys and what interests you the most in Unity!
I wanted to ask the community if anyone out there knew a series of grid builder tutorials that worked both in editor and in game, or just in editor. I’ve been able to find a lot of tutorials about 3D grid building systems but all of them run in game time and I’ve had a hard time adapting them to run in editor myself. My long term goal is to learn unity well enough to make myself a developer tool to make HD2D environments. To do that I’ve been starting off trying to make a voxel builder that works in the editor to allow me easy access to other assets and such while level designing and eventually building off that to replace it with a smarter rule tile driven 3D tile system.
"I have finished my game for Apple Vision Pro and I am looking for a tutorial on how to make it Multiplayer, the most basic and simple version possible, just two cars racing to the finish line... that's my game. I provide the entire scene, I just need the conversion to MULTIPLAYER and In-App Purchase later."
What is the best YouTube single video tutorial, that can teach you, how code and develop different types and genres of games using unity, that is quite begginer friendly. And how hard is unity overall, compared to GD script and Godot.
Create Adventure Island with persistent Data. Interfaces and some Clean code . New Input system , CineMachine and generics.
Crear Adventure island con persistencia de datos , interfaces y algo de codigo limpio. New Input system , CineMachine y el uso de generics.
hello, Im looking to make a game like clash royale, basically you got your own characters and able to summon and drag and drop on the map, view is also from above but I am completely new to unity and I cant find a similar tutorial that can help me somehow guide, any help would be greatly appreciated ! Thank you
💡If you haven’t voted here is the link to vote thank you!