We are here again with our latest curated Unity Tips and Tricks from Twitter. Every Tuesday we collect five (or more) #unitytips post from Twitter. Feel free to check our previous unity tips and tricks too!
Before we start, click on the link below to follow us on Twitter!
It's high time I shared some #UnityTips that I use every day while making @boomerangfu. These are basic but life-changing if you don't know them.— Paul Kopetko 🍌 (@paulkopetko) September 5, 2019
Tip 1: Click the little padlock in the Inspector to "lock selection", then you can drag and drop multiple items into your arrays! 😮 pic.twitter.com/XkSvR8eUxB
Hey guys i've made this 3 extensions for Animator class, the first method just replace SetBool, SetInt and SetFloat, it can be handy, you can do ctrl + d to duplicate line then pass the name and value and its done, no need to rename the method :D. #unitytips #IndieGameDev pic.twitter.com/VedMeLsF9F— Elvis Villavicencio (Bissash) (@Bissash_) September 9, 2019
Tip 3: Do you have regrets in your life? Well now you can delete those regrets out of your arrays by right-clicking in the Inspector! First "delete" removes the object reference, second "delete" removes the element while preserving the rest of your array! 🥳#UnityTips #gamedev pic.twitter.com/Z6785n0o8e— Paul Kopetko 🍌 (@paulkopetko) September 7, 2019
#UnityTips Finding gameObjects by component.— Storyteller | Visual Story tool (@StorytellerTool) September 6, 2019
example t:BoxCollider #unity3d pic.twitter.com/3o4ACnLo5Y
You can generate descriptions for your array elements in the inspector if you have a hidden string variable at the top of your struct/class. Use OnValidate to assign the strings. #unitytips pic.twitter.com/zGbzubdLb0— Anton Kudin (@antonkudin) September 6, 2019