If you don’t know @UnityCodeMonkey yet, you might recognize his Twitter avatar of a playful (and surprisingly tech-savvy) animated monkey. As he continues to navigate Unity, he aims to make gamedev easier with a series of best practices and speedy shortcuts. Read our latest roundup of must-try tips on topics ranging from simple Destruction and Minimaps, to the new input system and Screen Space Ambient Occlusion (SSAO).
If you’re planning to use the Destroy function, look no further:
Now watch the destruction take place!
The new input system might look complex at first, so let’s break it down together:
You can even check out the Input Debugger for more options.
Snappy movement can look quite janky, but this quick tip should do the trick:
Follow these simple steps to make a Minimap:
And you’re done!
Did you know that the Universal Render Pipeline (URP) has Ambient Occlusion? Use this effect to add in tiny shadows:
Play around with the different values until you get the look you want.
These are just some of the tips from our latest Dev Takeover with Code Monkey. If you’re looking to learn more, be sure to check out his YouTube channel – there are tons of videos to be discovered. You can also follow our Twitter for weekly #unitytips and monthly Dev Takeovers.
We can’t wait to see what you create. 🎨