Channel: Code Monkey
Category: Education
Tags: coding experienceunity 3dcodeunity tutorial for beginnersexperiencegame developmentunitycodinggame devcoding debuggingcode monkeyunity game tutorialunity tutorialdebugginglearn programmingunity tutorialsprogrammingunity 2dc#unity 3d tutoriallearn to codeunity debugsoftware developmentgame designprogramming debugginggame development unityhow to make a gameprogramming experienceunity 2d tutorial
Description: ✅ Quick example from my livestream on the power of experience 🔴 Livestream video: youtube.com/watch?v=na7bu_9Iv_4 💬 If you want to know when I go live hit the bell icon or sign up on the website 🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses 👍 Learn to make awesome games step-by-step from start to finish. 🎮 Get my Steam Games unitycodemonkey.com/gamebundle 🔴 RELATED VIDEOS 🔴 Continuing to Make a Spaceship System and Q&A - LIVE! youtube.com/watch?v=na7bu_9Iv_4 💬 During the livestream I was having an issue where a child object wasn't being destroyed. After thinking about it for a while, I remembered having this exact same issue at one point in the past. The problem is when you call Destroy(gameObject); Unity doesn't immediately destroy the object, if you check the parent.childCount it is still exactly the same after calling Destroy(); Unity only actually destroys the object and updates the hierarchy on the end of the frame. One solution is to manually unparent the object which happens instantly. This is a great example of the power of experience, since I had encountered this exact issue in the past it only took me a few minutes to fix it compared to the first time I had this issue where it took me hours. 🌍 Get Code Monkey on Steam! 👍 Interactive Tutorials, Complete Games and More! ✅ store.steampowered.com/app/1294220 If you have any questions post them in the comments and I'll do my best to answer them. 🔔 Subscribe for more Unity Tutorials youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1 See you next time! 📍 Support on Patreon patreon.com/unitycodemonkey 🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundle.php 📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php #unitytutorial #unity3d #gamedev -------------------------------------------------------------------- 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 endlessloopstudios.com -------------------------------------------------------------------- - Other great Unity channels: Unity - youtube.com/user/Unity3D Brackeys - youtube.com/user/Brackeys Dani - youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ Jabrils - youtube.com/channel/UCQALLeQPoZdZC4JNUboVEUg BlackthornProd - youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g Sykoo - youtube.com/user/SykooTV Jason Weimann - youtube.com/channel/UCX_b3NNQN5bzExm-22-NVVg Jonas Tyroller - youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg -------------------------------------------------------------------- - Website: unitycodemonkey.com - Twitter: twitter.com/UnityCodeMonkey - Steam: store.steampowered.com/developer/EndlessLoopStudios