unnecessary long switch case constructions
#UnityTips Certain Developers still use unnecessary long switch case constructions.This is a much better way utilizing an abstract base class implement all func
more impact by using a script
#UnityTips Give your fire animations more impact by using a script on a point light!Let the light dance in a random pattern to simulate the movement of the flam
compiler warnings synchronized in Visual Studio & the Unity console
#UnityTips If you want to have your compiler warnings in Visual Studio & the Unity console synchronized, you need to uncheck the "Suppress Common Warnings"
movement in background
#UnityTips If you need some movement in your background, you can use a particle systems set it to bursts and add a simple sprite sheet to create randomly genera
serialize Lists from abstract base classes or custom interfaces
#UnityTips With [SerializeReference] you can serialize Lists from abstract base classes or custom interfaces.We will link this tweet from now on when we read in
inject functions into classes with extension methods
#UnityTips You can actually inject functions into classes with extension methods 🤩This is great for extending functionality of any class, such as Vector
Be aware of the difference: Renderer.material / Renderer.sharedMaterial
#unitytips Be aware of the difference:Renderer.material(s) instantiates a new object, which are not garbage collected. You have to destroy it, to avoid memory l
search the hierarchy for specific components
#UnityTips You can search the hierarchy for specific components by entering t: ComponentNameThis works also for your custom MonoBehaviours.#indiedev #gamedev pi
Add your own hierarchy information by subsrcibing to EditorApplication
#UnityTips Add your own hierarchy information by subsrcibing to EditorApplication.hierarchyWindowItemOnGUIThis will receive a callback for every item that is dr
render your own scenes in cubemaps
#UnityTips This little widget will help you to render your own scenes into cubemaps and use them as backgrounds in your projects.#gamedev #indiedev pic.twitter.
short helper script
#UnityTips This is a short helper script that distributes the workload of baking multiple Reflection Probes over multiple frames.https://t.co/XttQTMNHXp#gamedev
Reflection probes have a high impact on your performance
#UnityTips Reflection probes have a high impact on your performance. Try using as few as possible and set the resolution to the lowest setting that still looks
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