strip a method from your build with preprocessor directives
#UnityTips If you want to strip a method from your build with preprocessor directives you can use the [Conditional] attribute. 🤓The compiler will not on
drag & drop a selection of sprites or a spritesheet into the animation window
#UnityTips You can drag & drop a selection of sprites or a spritesheet into the animation window to create keyframes.Scale them to change the timing.This wo
empty Update and LateUpdate impact your performance
#UnityTips Did you know that empty Update, LateUpdate and other magic functions impact your #performance?If you are looking for the last bit of optimization, wa
pattern matching in unity 2020.2
#UnityTips Lets talk about pattern matching and what advantages we have from the c# version increase in Unity 2020.2Our example is based on simple shapes becaus
layer highlighting in the collision matrix
#UnityTips in the latest version (2022.1 alpha) layer highlighting in the collision matrix in the project settings was added ❤️It's the little
remap function to map a value from one range to another
#UnityTips Unfortunately there is no remap function to map a value from one range to another in Unity Mathf.So we made one for you! 👇 #gamedec #indiedev
an alternative way to define a horizontal GUI section
#UnityTips Today we show you an alternative way to define a horizontal GUI section.With this method you will never forget to call EndHorizontal because you do n
Be aware of unnecessary overdraw in your scene
#UnityTips Be aware of unnecessary overdraw in your scene.Visualize overdraw by selecting it from the scene view and fix it with occlusion culling. Brighter col
give your animations a nicer look
#unitytips You can give your animations a nicer look without the need for additional tools. One option is to use Mathf.smoothstep to get a nice ease-in/out beha
simple shader to fade out objects at a specific distance
#UnityTips Here is a simple #shader to fade out objects at a specific distance from the camera.Check the image for details 👇#indiedev #gamedev pic.twitt
need to know when your touch input is over a UI element
#UnityTips If you need to know when your touch input is over a UI element to stopyour camera from moving in your mobile application, check out IsPointerOverGame
more control over a mobile vibration call
#UnityTips Do you need more control over a mobile vibration call than Handheld.Vibrate() gives you?This little snippet works wonders on Android. If someone has
simple math to convert a compass heading in degree to a Vector2
#UnityTips Here is some simple math to convert a compass heading in degree to a Vector2 and back 👇 #gamedev #indiedev pic.twitter.com/BW0T3i91C4—
an easy way to have simple occlusion in AR
#UnityTips Here is an easy way to have simple occlusion in #AR 😎This very simple #Shader will draw transparent geometry and write it to the depth buffer
hide a folder from the editor
#unitytips Add ~ to a folder name to hide it from the editor and exclude it from builds.Keep your Apps clean 😎#gamedev #indiedev— Binary Impact (@