Hey there friends! Please enjoy this week's curation of #Unitytips. We hope you find one here that get's you over the edge or at least saves you a little time in your next Unity3d project. Huge thanks to all the devs who make these tips.
As always make sure to share your favorite tip with your friends and followers. Have a stellar week!!
Did you know that you can create your own custom ReadMe files for your Unity project?— John O'Reilly 🔜 Gamescom (@John_O_Really) August 6, 2019
I've recently found this super helpful when working with a distributed team. It's a great place to drop links to resources & documentation!
Just set the inspector to debug mode & edit #UnityTips pic.twitter.com/YnQGubxTo7
#unitytips Want to swap the Animation Clip of a State in an Animator at runtime?— Heal Plz - Party-healing dungeon crawler RPG (@HealPlzDev) August 13, 2019
Use an AnimatorOverrideController! Great for reusing the same generic Animator on characters with different animations, or for switching to wounded animations variants.#indiedev #gamedev #unity3d pic.twitter.com/A8n5DEQARd
A little coding tip in Visual Studio that will save you time. Just hold Alt + Left Mouse Button and then drag with the mouse for some witchcraft.#programming #coding #gamedev #UnityTips pic.twitter.com/JVpgo6BrKB— Totodyle (@TotodyleCorner) August 9, 2019
#unitytips Indexers are a neat, underused C# feature. They let you address a class like an array to access it internals. What's more, the index can be of any type, and you can override the indexer with multiple types! #gamedev #indiedev pic.twitter.com/XiVlkkCK1c— j4nw (@_j4nw) August 9, 2019
#unitytips— Justice Shultz (@JusticeShultz) August 12, 2019
Fun little tip, you can press the little ▼ icon on a C# script in #unity3d at the top left in the inspector to simply change its icon, just like you would change a gizmo icon for an object in your game! pic.twitter.com/olH23qKGlR
#unitytips You can use ColorMask in unity shaders to turn off writing to color buffer. On the side note, stencil passes look so beautifully compact. I wished all my shader passes looked like that pic.twitter.com/KCpVfRLPR7— Shahriar Shahrabi (@IRCSS) August 7, 2019
Did you know C# has local functions?— Freya Holmér (@FreyaHolmer) August 13, 2019
🔎 Can access local variables
📦 Doesn't clutter the outer scope
⚡ Faster than lambdas - local functions compile like any other method
Here's an example of how much it cleaned up some code of mine!✨#UnityTips #unity3d pic.twitter.com/JRVcoB9Utd
#unitytips Sometimes you want to take it slow, animate over time with coroutines (possibly calling other coroutines). Other times you want it all done in one frame. You don't have to write a separate code path. Just run the whole coroutine on the spot. #programming #gamedev pic.twitter.com/fsh03LGBU9— Shane Celis (@shanecelis) August 16, 2019
This weeks #unitytips are method delegates, which are similar to UnityEvents but far faster. It lets you pass methods as a variable reference to be called as needed.— Laireon Games: Aiyana (@laireon) August 13, 2019
This can avoid messy inheritance such as flowers, weapons and players all needing the same methods.#gamedev pic.twitter.com/uhUcyLPc4n
Rucksack is the most flexible and extensible single and multiplayer inventory solution with UNet support that enables you to easily setup player inventories, NPC inventories, banks, premium shops and much more!
Odin puts your Unity workflow on steroids, making it easy to build powerful user-friendly editors for you and your entire team.
With an effortless integration that deploys perfectly into pre-existing workflows, Odin allows you to serialize anything and enjoy Unity with 80+ new inspector attributes, no boilerplate code and so much more!
Prior to Devdog, I ran an online games industry news media for and about Nordic game developers for nearly two years.
During that time, I often reached out to new game developers directly, apart from interviewing the ones who sent a press release directly to me.
A few weeks ago, we bought a Unity Asset that really let us down.
In developing our own assets, we spend a lot of time on the Asset Store, researching the market and getting inspired.
Item Collections in Inventory Pro are powerful collections that can contain items, stack, unstack, merge items and much, much more.
As we'll soon see, however, these features aren't only useful when creating a traditional RPG inventory system, but can be used in many aspects of your game.
We're a developer and publisher of best-in-class tools and asset for the Unity game engine. We develop and sell but also publish products like Odin for talented developers and artists around the world.