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 posts too!
Before we start, click on the link below to follow us on Twitter!
Use [SerializeField] to set a value or assign your object. [HideInInspector] will hide it but the value is still stored since it is serialized. Look how I hide them after I done the job. I can still access to "contextText" without any error. Nice for prefabs #unitytips #unity3d pic.twitter.com/M8SW210McA— MaZy (@bilosaurus) October 9, 2019
Save a bunch of time, and boredom, by applying physics to your objects you'd like placed in the world and let that take care of the positioning for you, hurray!— Richard Myles (@GamingYourWay) October 14, 2019
Now only a million more rocks to go...#unitytips #gamedev #indiedev pic.twitter.com/Ke4lr188rd